Run test server in non-debug mode to prevent noisy reports

This commit is contained in:
Andrew Svetlov 2015-07-08 20:45:00 +03:00
parent 7c702e5df9
commit 1aff330216
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
. -e .
flake8 flake8
pytest pytest
coverage coverage

View File

@ -49,7 +49,7 @@ class TestCookiesIdentity(unittest.TestCase):
port = self.find_unused_port() port = self.find_unused_port()
self.handler = app.make_handler( self.handler = app.make_handler(
debug=True, keep_alive_on=False) debug=False, keep_alive_on=False)
srv = yield from self.loop.create_server( srv = yield from self.loop.create_server(
self.handler, '127.0.0.1', port) self.handler, '127.0.0.1', port)
url = "http://127.0.0.1:{}".format(port) url = "http://127.0.0.1:{}".format(port)

View File

@ -55,7 +55,7 @@ class TestCookiesIdentity(unittest.TestCase):
port = self.find_unused_port() port = self.find_unused_port()
self.handler = app.make_handler( self.handler = app.make_handler(
debug=True, keep_alive_on=False) debug=False, keep_alive_on=False)
srv = yield from self.loop.create_server( srv = yield from self.loop.create_server(
self.handler, '127.0.0.1', port) self.handler, '127.0.0.1', port)
url = "http://127.0.0.1:{}".format(port) url = "http://127.0.0.1:{}".format(port)