Skip to content

Commit

Permalink
Fix fetch url mock for IOC test
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Sep 12, 2024
1 parent 6a2bf62 commit 74c69bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ioc_api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_generate_urls_raises_when_end_date_before_start_date():
assert str(exc.value) == f"'end_date' must be after 'start_date': {end_date} vs {start_date}"


@unittest.mock.patch("searvey._common._fetch_url")
@unittest.mock.patch("searvey._ioc_api._fetch_url")
def test_fetch_ioc_station_empty_responses(mocked_fetch_url):
station_id = "blri"
start_date = "2023-09-01"
Expand Down

0 comments on commit 74c69bd

Please sign in to comment.