Skip to content
Snippets Groups Projects
Commit 84b96451 authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: total coverage of 28%

parent e66ff1f7
No related branches found
No related tags found
1 merge request!16Clhp map into main
No preview for this file type
source diff could not be displayed: it is too large. Options to address this: view the blob.
No preview for this file type
This diff is collapsed.
No preview for this file type
No preview for this file type
from server.map_handler.update_measurements import update_measurements
def test_update_measurements() -> None:
def test_update_measurements_invalid_lake() -> None:
test_lake_name = "test_lake"
status_code, _ = update_measurements(test_lake_name)
assert status_code == 404
def test_update_measurements_valid_lake() -> None:
test_lake_name = "Skumsjøen"
status_code, _ = update_measurements(test_lake_name)
assert status_code == 200
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment