Skip to content

Commit

Permalink
fixed typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
ciB89 authored Apr 17, 2018
1 parent edd5733 commit dd76ada
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions miio/tests/test_vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def change_mode(self, new_mode):
self.state["state"] = DummyVacuum.STATE_IDLE
elif new_mode == "goto":
self.state["state"] = DummyVacuum.STATE_GOTO
elif new_mode == "zoned cleaning":
elif new_mode == "zoned clean":
self.state["state"] = DummyVacuum.STATE_ZONED_CLEAN
elif new_mode == "charge":
self.state["state"] = DummyVacuum.STATE_CHARGING
Expand Down Expand Up @@ -139,13 +139,13 @@ def test_home(self):
def test_goto(self):
self.device.start()
assert self.status().is_on is True
self.device.goto(24000,24000)
self.device.goto(24000, 24000)
assert self.status().state_code == self.device.STATE_GOTO

def test_zoned_clean(self):
self.device.start()
assert self.status().is_on is True
self.device.zoned_clean(25000,25000,25500,25500,3)
self.device.zoned_clean(25000, 25000, 25500, 25500, 3)
assert self.status().state_code == self.device.STATE_ZONED_CLEAN

@pytest.mark.xfail
Expand Down

0 comments on commit dd76ada

Please sign in to comment.