Skip to content

Commit

Permalink
Make hound happy again.
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Nov 19, 2017
1 parent 537b655 commit 921bb71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions miio/tests/test_powerstrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ def test_status(self):
self.device._reset_state()

assert self.is_on() is True
assert self.state().temperature == self.device.start_state["temperature"]
assert self.state().load_power == self.device.start_state["power_consume_rate"]
assert self.state().temperature == \
self.device.start_state["temperature"]
assert self.state().load_power == \
self.device.start_state["power_consume_rate"]

def test_status_without_power_consume_rate(self):
del self.device.state["power_consume_rate"]
Expand Down

0 comments on commit 921bb71

Please sign in to comment.