Exemple #1
0
 def test_lastupdatedNone(self):
     result = SensorState.fromDict(self.input)
     self.assertIs(None, result.lastupdated)
Exemple #2
0
 def test_basic(self):
     result = SensorState.fromDict(self.input)
     self.assertEquals(0, result.buttonevent)