Stop using the tornado reloader in tests.

This causes some interesting warnings.
This commit is contained in:
Dave Shawley 2021-09-12 09:41:32 -04:00 committed by Dave Shawley
parent 66f3bfbca3
commit c6551e8024
No known key found for this signature in database
GPG key ID: F41A8A99298F8EED

View file

@ -63,7 +63,7 @@ def pack_bytes(payload):
class SendResponseTests(testing.AsyncHTTPTestCase):
def get_app(self):
return examples.make_application(debug=True)
return examples.make_application()
def test_that_content_type_default_works(self):
response = self.fetch('/', method='POST', body='{}',
@ -119,7 +119,7 @@ class GetRequestBodyTests(testing.AsyncHTTPTestCase):
super().setUp()
def get_app(self):
self.app = examples.make_application(debug=True)
self.app = examples.make_application()
return self.app
def test_that_request_with_unhandled_type_results_in_415(self):