Jelajahi Sumber

Reduce the number of retries in test

After recent change to use fewer retries when the protocol version is known,
the version starts rotating again within the test limit.
Jason Rumney 3 tahun lalu
induk
melakukan
5aa5e1d4b6
1 mengubah file dengan 0 tambahan dan 5 penghapusan
  1. 0 5
      tests/test_device.py

+ 0 - 5
tests/test_device.py

@@ -193,11 +193,6 @@ class TestDevice(IsolatedAsyncioTestCase):
             {"dps": {"1": False}},
             Exception("Error"),
             Exception("Error"),
-            Exception("Error"),
-            Exception("Error"),
-            Exception("Error"),
-            Exception("Error"),
-            Exception("Error"),
             {"dps": {"1": False}},
         ]
         self.subject.refresh()