Beispiel #1
0
 def test_lights(self):
     result = Group.fromDict(self.input)
     self.assertEquals(["1", "2"], result.lights)
Beispiel #2
0
 def test_action(self):
     result = Group.fromDict(self.input)
     self.assertEquals(100, result.action.bri)
Beispiel #3
0
 def test_basic(self):
     result = Group.fromDict(self.input)
     self.assertEquals('bedroom', result.name)