Skip to content

Commit

Permalink
Tests updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Jan 28, 2018
1 parent 2aacae7 commit b15ac5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion miio/tests/test_airqualitymonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ def __init__(self, *args, **kwargs):
'power': 'on',
'aqi': 34,
'battery': 100,
'usb_state': 'off'
'usb_state': 'off',
'time_state' : 'format unknown'
}
self.return_values = {
'get_prop': self._get_state,
Expand Down Expand Up @@ -56,3 +57,4 @@ def test_status(self):
assert self.state().aqi == self.device.start_state["aqi"]
assert self.state().battery == self.device.start_state["battery"]
assert self.state().usb_power == (self.device.start_state["usb_state"] == 'on')
assert self.state().time_state == self.device.start_state["time_state"]

0 comments on commit b15ac5c

Please sign in to comment.