Skip to content

Commit

Permalink
Access the correct object.
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Mar 15, 2018
1 parent fd970b6 commit a85b32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/tests/test_airpurifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_off(self):
def test_status(self):
self.device._reset_state()

assert repr(self.state()) == repr(AirPurifierStatus(self.start_state))
assert repr(self.state()) == repr(AirPurifierStatus(self.device.start_state))

assert self.is_on() is True
assert self.state().aqi == self.device.start_state["aqi"]
Expand Down

0 comments on commit a85b32b

Please sign in to comment.