Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions tests/test_alfresco.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,24 +73,6 @@ def test_alfresco_veg_type_local(client):
assert actual_data == expected_data


def test_alfresco_flammability_invalid_area(client):
"""
Tests the /alfresco/flammability/area/<id> endpoint to ensure that a 422 error is returned for an invalid area.
"""
# Get the actual response from the endpoint
response = client.get("/alfresco/flammability/area/foobar")
assert response.status_code == 422


def test_alfresco_veg_type_invalid_area(client):
"""
Tests the /alfresco/veg_type/area/<id> endpoint to ensure that a 422 error is returned for an invalid area.
"""
# Get the actual response from the endpoint
response = client.get("/alfresco/veg_type/area/foobar")
assert response.status_code == 422


def test_alfresco_flammability_invalid_local_str(client):
"""Tests the /alfresco/flammability/local/<lat>/<lon> endpoint to ensure that a 400 error is returned for a string input."""
# Get the actual response from the endpoint
Expand Down
Loading