Skip to content

Commit

Permalink
Fix MIOT purifier tests
Browse files Browse the repository at this point in the history
  • Loading branch information
foxel committed Feb 20, 2020
1 parent 14d6588 commit 6feed42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions miio/tests/test_airpurifier_miot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from miio.airfilter_util import FilterType
from miio.airpurifier_miot import AirPurifierMiotException, LedBrightness, OperationMode

from .dummies import DummyDevice, DummyMiotDevice
from .dummies import DummyMiotDevice

_INITIAL_STATE = {
"power": True,
Expand Down Expand Up @@ -98,7 +98,6 @@ def test_status(self):
assert status.motor_speed == _INITIAL_STATE["motor_speed"]
assert status.filter_rfid_product_id == _INITIAL_STATE["filter_rfid_product_id"]
assert status.filter_type == FilterType.AntiBacterial
assert status.button_pressed == _INITIAL_STATE["button_pressed"]

def test_set_fan_level(self):
def fan_level():
Expand Down

0 comments on commit 6feed42

Please sign in to comment.