Clean up the test code for client disconnections (#12929)
* Reword failure message about `await_result=False` * Use `reactor.advance()` instead of `reactor.pump()` * Raise `AssertionError`s ourselves * Un-instance method `_test_disconnect` * Replace `ThreadedMemoryReactorClock` with `MemoryReactorClock`
Showing
- changelog.d/12929.misc 1 addition, 0 deletionschangelog.d/12929.misc
- tests/federation/transport/server/test__base.py 4 additions, 6 deletionstests/federation/transport/server/test__base.py
- tests/http/server/_base.py 69 additions, 63 deletionstests/http/server/_base.py
- tests/http/test_servlet.py 4 additions, 6 deletionstests/http/test_servlet.py
- tests/replication/http/test__base.py 4 additions, 6 deletionstests/replication/http/test__base.py
- tests/test_server.py 7 additions, 7 deletionstests/test_server.py
changelog.d/12929.misc
0 → 100644
Please register or sign in to comment