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):
156156 ) as client :
157157 self .assertTrue (client .create_connection_ran )
158158
159- @unittest .skip ("TODO - skipped to get a passing run" )
160159 async def test_reconnect (self ):
161160 """Client reconnects to server."""
162161 iterations = 0
@@ -190,7 +189,6 @@ async def process_request(connection, request):
190189 self .assertEqual (iterations , 6 )
191190 self .assertEqual (successful , 2 )
192191
193- @unittest .skip ("TODO - skipped to get a passing run" )
194192 async def test_reconnect_with_custom_process_exception (self ):
195193 """Client runs process_exception to tell if errors are retryable or fatal."""
196194 iteration = 0
@@ -224,7 +222,6 @@ def process_exception(exc):
224222 "🫖 💔 ☕️" ,
225223 )
226224
227- @unittest .skip ("TODO - skipped to get a passing run" )
228225 async def test_reconnect_with_custom_process_exception_raising_exception (self ):
229226 """Client supports raising an exception in process_exception."""
230227
Original file line number Diff line number Diff line change @@ -20,12 +20,14 @@ deps =
2020
2121[testenv:coverage]
2222commands =
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}
2424 python -m coverage report --show-missing --fail-under =100
2525deps =
2626 coverage
2727 mitmproxy
2828 python-socks
29+ setenv =
30+ WEBSOCKETS_DEBUG =1
2931
3032[testenv:maxi_cov]
3133commands =
You can’t perform that action at this time.
0 commit comments