File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,6 @@ def create_connection(*args, **kwargs):
156
156
) as client :
157
157
self .assertTrue (client .create_connection_ran )
158
158
159
- @unittest .skip ("TODO - skipped to get a passing run" )
160
159
async def test_reconnect (self ):
161
160
"""Client reconnects to server."""
162
161
iterations = 0
@@ -190,7 +189,6 @@ async def process_request(connection, request):
190
189
self .assertEqual (iterations , 6 )
191
190
self .assertEqual (successful , 2 )
192
191
193
- @unittest .skip ("TODO - skipped to get a passing run" )
194
192
async def test_reconnect_with_custom_process_exception (self ):
195
193
"""Client runs process_exception to tell if errors are retryable or fatal."""
196
194
iteration = 0
@@ -224,7 +222,6 @@ def process_exception(exc):
224
222
"🫖 💔 ☕️" ,
225
223
)
226
224
227
- @unittest .skip ("TODO - skipped to get a passing run" )
228
225
async def test_reconnect_with_custom_process_exception_raising_exception (self ):
229
226
"""Client supports raising an exception in process_exception."""
230
227
Original file line number Diff line number Diff line change @@ -20,12 +20,14 @@ deps =
20
20
21
21
[testenv:coverage]
22
22
commands =
23
- python -m coverage run --source {envsitepackagesdir}/websockets,tests -m unittest {posargs}
23
+ python -u - m coverage run --source {envsitepackagesdir}/websockets,tests -m unittest -v -k test_reconnect {posargs}
24
24
python -m coverage report --show-missing --fail-under =100
25
25
deps =
26
26
coverage
27
27
mitmproxy
28
28
python-socks
29
+ setenv =
30
+ WEBSOCKETS_DEBUG =1
29
31
30
32
[testenv:maxi_cov]
31
33
commands =
You can’t perform that action at this time.
0 commit comments