Closed Peque closed 6 years ago
This exception handling in osbrain/proxy.py is not always covered by the test suite:
osbrain/proxy.py
class Proxy(): def shutdown(self, timeout=10.): # ... except ConnectionClosedError: pass
We should create a test that forces a ConnnectionClosedError on shutdown.
ConnnectionClosedError
Worst thing is not that those lines are not covered, but that they are randomly covered by our test suite. This can lead to unwanted failing coverage reports.
This exception handling in
osbrain/proxy.py
is not always covered by the test suite:We should create a test that forces a
ConnnectionClosedError
on shutdown.