def setUp(self):
self.con = connection.hmserial('<STR_LIT>', '<STR_LIT>')<EOL>self.con.open()<EOL>self.thermostat1 = heatmiser.HeatmiserThermostat(<NUM_LIT:1>, '<STR_LIT>', self.con)<EOL>
Creates serial con and thermostat