Run test server in non-debug mode to prevent noisy reports
This commit is contained in:
parent
7c702e5df9
commit
1aff330216
|
@ -1,4 +1,4 @@
|
||||||
.
|
-e .
|
||||||
flake8
|
flake8
|
||||||
pytest
|
pytest
|
||||||
coverage
|
coverage
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue