1
0

DEMO ONLY: show silenced exception here

Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
This commit is contained in:
Olivier Wilkinson (reivilibre)
2020-08-03 15:06:16 +01:00
parent 6812509807
commit e4bb0047c4

View File

@@ -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(),