Skip to content

Commit

Permalink
Update test method name
Browse files Browse the repository at this point in the history
  • Loading branch information
shred86 committed Dec 26, 2021
1 parent 1da904e commit 740a2ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions miio/integrations/vacuum/roborock/tests/test_vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,12 @@ def test_mop_mode(self):
with patch.object(self.device, "send", return_value=[32453]):
assert self.device.mop_mode() is None

def test_mop_intensity(self):
def test_mop_intensity_model_check(self):
"""Test Roborock S7 check when getting mop intensity."""
with pytest.raises(VacuumException):
self.device.mop_intensity()

def test_set_mop_intensity(self):
def test_set_mop_intensity_model_check(self):
"""Test Roborock S7 check when setting mop intensity."""
with pytest.raises(VacuumException):
self.device.set_mop_intensity(MopIntensity.Intense)
Expand All @@ -349,7 +349,7 @@ def dummyvacuums7(request):

@pytest.mark.usefixtures("dummyvacuums7")
class TestVacuumS7(TestCase):
def test_get_mop_intensity(self):
def test_mop_intensity(self):
"""Test getting mop intensity."""
with patch.object(self.device, "send", return_value=[203]) as mock_method:
assert self.device.mop_intensity()
Expand Down

0 comments on commit 740a2ac

Please sign in to comment.