From 541534ec1d274c8e9757994c35d373f24170195f Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Fri, 10 Jul 2020 17:20:37 -0400 Subject: [PATCH] Fix ext.flask tests --- tests/unit/ext/test_flask_py2_py3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/ext/test_flask_py2_py3.py b/tests/unit/ext/test_flask_py2_py3.py index 120378f1..dac02e4b 100644 --- a/tests/unit/ext/test_flask_py2_py3.py +++ b/tests/unit/ext/test_flask_py2_py3.py @@ -40,14 +40,14 @@ class Application(containers.DeclarativeContainer): class ApplicationTests(unittest.TestCase): - def setUp(self) -> None: + def setUp(self): application = Application() self.app = application.app() self.app.config['SERVER_NAME'] = 'test-server.com' self.client = self.app.test_client() self.client.__enter__() - def tearDown(self) -> None: + def tearDown(self): self.client.__exit__(None, None, None) def test_index(self):