From 737382f39ff5704fabd4a16833ad9507dd298adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Libor=20=C5=A0af=C3=A1=C5=99?= Date: Sun, 7 Apr 2024 12:44:13 +0200 Subject: [PATCH] Remove test comments --- tests/device_test.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/device_test.py b/tests/device_test.py index 167878a..5b3d5aa 100644 --- a/tests/device_test.py +++ b/tests/device_test.py @@ -177,8 +177,6 @@ def mocked_requests_post(*args, **kwargs): 'data/get_volume.xml')) elif url == RENDERING_CONTROL_URL_SET_VOLUME: - # return MockResponse(None, 500) - return MockResponse(None, 200, read_file( @@ -878,9 +876,6 @@ def test_set_volume(self, mocked_requests_post): device = self.create_device() device.rendering_control_url = RENDERING_CONTROL_URL_SET_VOLUME - # self.assertEqual(False, device.set_volume(-10)) - # self.assertEqual(False, device.set_volume(200)) - self.assertEqual(True, device.set_volume(50)) self.assertEqual(True, device.set_volume(0))