We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a3124 commit 1d873d3Copy full SHA for 1d873d3
1 file changed
tests/unit/test_tion.py
@@ -1,8 +1,8 @@
1
+import bluepy
2
import time
3
import pytest
-import unittest
4
import unittest.mock as mock
5
-from bleak import exc
+
6
7
import tion_btle.tion
8
from tion_btle.tion import tion
@@ -34,7 +34,7 @@ def a(self, _succeed_run: int = 0):
34
if self.count - 1 == _succeed_run:
35
return "expected_result"
36
37
- raise exc.BleakError
+ raise bluepy.btle.BTLEDisconnectError
38
39
i = TestRetry()
40
start = time.time()
0 commit comments