Skip to content

Commit

Permalink
Fix tests for new max level
Browse files Browse the repository at this point in the history
  • Loading branch information
swiergot committed Jan 21, 2019
1 parent d4fb041 commit 0432ac4
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 @@ -156,7 +156,7 @@ def favorite_level():
self.device.set_favorite_level(-1)

with pytest.raises(AirPurifierException):
self.device.set_favorite_level(17)
self.device.set_favorite_level(18)

def test_set_led_brightness(self):
def led_brightness():
Expand Down

0 comments on commit 0432ac4

Please sign in to comment.