diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2020-08-03 15:06:16 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2020-08-03 15:06:16 +0100 |
commit | e4bb0047c4f9ef5c033dbac6adc11216dbeba59b (patch) | |
tree | f4ec51c86d9f04be1a6e2b38fba3871f430912a6 | |
parent | Implement handling of HTTP HEAD requests. (#7999) (diff) | |
download | synapse-e4bb0047c4f9ef5c033dbac6adc11216dbeba59b.tar.xz |
DEMO ONLY: show silenced exception here
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r-- | tests/http/test_proxyagent.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/http/test_proxyagent.py b/tests/http/test_proxyagent.py index 22abf76515..eb65f1376e 100644 --- a/tests/http/test_proxyagent.py +++ b/tests/http/test_proxyagent.py @@ -213,6 +213,9 @@ class MatrixFederationAgentTests(TestCase): self.assertEqual(body, b"result") def test_https_request_via_proxy(self): + # XXX needed to unsilence logging + logging.root.handlers = [logging.StreamHandler()] + agent = ProxyAgent( self.reactor, contextFactory=get_test_https_policy(), |