Skip to content

Commit

Permalink
fixed tests to pass with new data
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhaaranen committed Apr 2, 2024
1 parent ec277fe commit 51bbbf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_get_metadata():
assert isinstance(body['present_pollutant_codes'][0], str)
assert len(body['present_main_activity_codes']) > 40
assert isinstance(body['present_main_activity_codes'][0], str)
assert len(body['present_cities']) > 250
assert len(body['present_cities']) > 150
assert isinstance(body['present_cities'][0], str)


Expand Down Expand Up @@ -110,7 +110,7 @@ def test_get_releases_by_facility_id():
)
assert response.status_code == 200
data = response.json()['data']
assert len(data) == 4
assert len(data) == 6
release_prev = None
for release in data:
assert release['facilityId'] == facility_id
Expand Down

0 comments on commit 51bbbf7

Please sign in to comment.