Skip to content

Commit 81a6036

Browse files
committed
fix name of class of FlaskRoutesTest for v1 and v2 testing
1 parent 85f5402 commit 81a6036

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@mock.patch('app.services.location.jhu.datetime')
1212
@mock.patch('app.services.location.jhu.requests.get', side_effect=mocked_requests_get)
13-
class FlaskRoutesV1Test(unittest.TestCase):
13+
class FlaskRoutesTest(unittest.TestCase):
1414
"""
1515
Need to mock some objects to control testing data locally
1616
Routes are hard to test regarding singleton app.
@@ -21,7 +21,7 @@ class FlaskRoutesV1Test(unittest.TestCase):
2121
app = app.create_app()
2222

2323
def setUp(self):
24-
self.client = FlaskRoutesV1Test.app.test_client()
24+
self.client = FlaskRoutesTest.app.test_client()
2525
self.date = DATETIME_STRING
2626

2727
def read_file_v1(self, state):

0 commit comments

Comments
 (0)