From 1aff330216eaa351fbe7e9cb962469bc2e197417 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 8 Jul 2015 20:45:00 +0300 Subject: [PATCH] Run test server in non-debug mode to prevent noisy reports --- requirements-dev.txt | 2 +- tests/test_cookies_identity.py | 2 +- tests/test_dict_autz.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index de46db5..f3d187f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -. +-e . flake8 pytest coverage diff --git a/tests/test_cookies_identity.py b/tests/test_cookies_identity.py index 6845760..e72c052 100644 --- a/tests/test_cookies_identity.py +++ b/tests/test_cookies_identity.py @@ -49,7 +49,7 @@ class TestCookiesIdentity(unittest.TestCase): port = self.find_unused_port() self.handler = app.make_handler( - debug=True, keep_alive_on=False) + debug=False, keep_alive_on=False) srv = yield from self.loop.create_server( self.handler, '127.0.0.1', port) url = "http://127.0.0.1:{}".format(port) diff --git a/tests/test_dict_autz.py b/tests/test_dict_autz.py index 6c689ca..f37cacc 100644 --- a/tests/test_dict_autz.py +++ b/tests/test_dict_autz.py @@ -55,7 +55,7 @@ class TestCookiesIdentity(unittest.TestCase): port = self.find_unused_port() self.handler = app.make_handler( - debug=True, keep_alive_on=False) + debug=False, keep_alive_on=False) srv = yield from self.loop.create_server( self.handler, '127.0.0.1', port) url = "http://127.0.0.1:{}".format(port)