Sfoglia il codice sorgente

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 anni fa
parent
commit
5aa5e1d4b6
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0 5
      tests/test_device.py

+ 0 - 5
tests/test_device.py

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