示例#1
0
 def setUp(self):
     self.service = ViCareServiceMock('response/Vitocal300G.json')
     self.device = HeatPump(self.service)
示例#2
0
 def setUp(self):
     self.service = ViCareServiceMock('response/Vitodens100W.json')
     self.device = GazBoiler(self.service)
示例#3
0
 def setUp(self):
     self.service = ViCareServiceMock(None,
                                      {'data': [MockCircuitsData([0])]})
     self.device = Device(self.service)
示例#4
0
 def setUp(self):
     self.service = ViCareServiceMock('response_Vitocal200.json', 0)
     self.heat = HeatPump(None, None, None, 0, 0, self.service)
     PyViCare.Feature.raise_exception_on_not_supported_device_feature = True
 def setUp(self):
     self.service = ViCareServiceMock('response/Vitocaldens222F.json')
     self.device = Hybrid(self.service)
示例#6
0
 def setUp(self):
     self.service = ViCareServiceMock(None, 0, {})
     self.device = Device(None, None, None, 0, 0, self.service)
 def setUp(self):
     self.service = ViCareServiceMock('response/VitolaUniferral.json')
     self.device = OilBoiler(self.service)
示例#8
0
 def setUp(self):
     self.service = ViCareServiceMock('response/Solar.json')
     self.device = Device(self.service)
示例#9
0
 def setUp(self):
     self.service = ViCareServiceMock('response_Vitodens222F.json', 0)
     self.gaz = GazBoiler(None, None, None, 0, 0, self.service)
     PyViCare.Feature.raise_exception_on_not_supported_device_feature = True
示例#10
0
def service():
    return ViCareServiceMock('response_VitovalorPT2.json', 0)
示例#11
0
 def setUp(self):
     self.service = ViCareServiceMock('response/VitovalorPT2.json')
     self.device = FuelCell(self.service)