Skip to content

Commit 34f4514

Browse files
suggested changes
1 parent 8d1cd60 commit 34f4514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_save_forecast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ async def test_save_nl_generation_creates_locations_when_none_exist(self, client
461461
def mock_list_locations(req: dp.ListLocationsRequest) -> dp.ListLocationsResponse:
462462
nonlocal call_count
463463
call_count += 1
464-
if call_count <= 2:
464+
if call_count == 1:
465465
# First call returns empty (no locations exist)
466466
return dp.ListLocationsResponse(locations=[])
467467
else:

0 commit comments

Comments
 (0)