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 2e82612 commit b354a97Copy full SHA for b354a97
backend/tests/test_restful.py
@@ -112,18 +112,6 @@ def test_get_sdm_data(client):
112
assert response.status_code == 200
113
114
assert client.get(f'/bird-info/bad_get').status_code == 404
115
-
116
117
-def test_read_json(client):
118
- test_directory = os.getcwd()
119
- os.chdir('./app')
120
121
- try:
122
- json_request_response = client.get(f'./json/tavg.json')
123
- assert json_request_response.status_code == 200
124
- finally:
125
- os.chdir(test_directory)
126
127
128
def test_get_bird_ids(client):
129
@@ -183,4 +171,4 @@ def test_get_heatmap(client):
183
171
184
172
assert client.get(f'/get_heatmap_data?bird=BAD_ID').status_code == 400
185
173
finally:
186
174
+ os.chdir(test_directory)
0 commit comments