We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f5402 commit 81a6036Copy full SHA for 81a6036
tests/test_routes.py
@@ -10,7 +10,7 @@
10
11
@mock.patch('app.services.location.jhu.datetime')
12
@mock.patch('app.services.location.jhu.requests.get', side_effect=mocked_requests_get)
13
-class FlaskRoutesV1Test(unittest.TestCase):
+class FlaskRoutesTest(unittest.TestCase):
14
"""
15
Need to mock some objects to control testing data locally
16
Routes are hard to test regarding singleton app.
@@ -21,7 +21,7 @@ class FlaskRoutesV1Test(unittest.TestCase):
21
app = app.create_app()
22
23
def setUp(self):
24
- self.client = FlaskRoutesV1Test.app.test_client()
+ self.client = FlaskRoutesTest.app.test_client()
25
self.date = DATETIME_STRING
26
27
def read_file_v1(self, state):
0 commit comments