From 740a2ac08f8f9ab532f52dafe9320ed22fa5180b Mon Sep 17 00:00:00 2001 From: shred86 Date: Sat, 25 Dec 2021 16:49:57 -0800 Subject: [PATCH] Update test method name --- miio/integrations/vacuum/roborock/tests/test_vacuum.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/miio/integrations/vacuum/roborock/tests/test_vacuum.py b/miio/integrations/vacuum/roborock/tests/test_vacuum.py index 9a1d9246e..433062b1a 100644 --- a/miio/integrations/vacuum/roborock/tests/test_vacuum.py +++ b/miio/integrations/vacuum/roborock/tests/test_vacuum.py @@ -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) @@ -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()