Skip to content

Commit

Permalink
All tests pointed at burn_backend prod Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
GondekNP committed Jul 29, 2024
1 parent 5f97126 commit 95e64e7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/unit/util/test_cloud_static_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_upload_fire_event(
prefire_date_range = "test_prefire_range"
postfire_date_range = "test_postfire_range"
affiliation = "test_affiliation"
derive_boundary = "test_boundary"
final = True
satellite_pass_information = {
"n_prefire_passes": 4,
"n_postfire_passes": 4,
Expand All @@ -39,8 +39,8 @@ def test_upload_fire_event(
prefire_date_range,
postfire_date_range,
affiliation,
derive_boundary,
satellite_pass_information=satellite_pass_information,
final,
satellite_pass_information,
)

# Assert that __init__, upload_cogs and update_manifest were called with the correct arguments
Expand All @@ -49,14 +49,15 @@ def test_upload_fire_event(
metrics_stack=metrics_stack,
fire_event_name=fire_event_name,
affiliation=affiliation,
final=final,
)
mock_update_manifest.assert_called_once_with(
fire_event_name=fire_event_name,
bounds=ANY,
prefire_date_range=prefire_date_range,
postfire_date_range=postfire_date_range,
affiliation=affiliation,
derive_boundary=derive_boundary,
derive_boundary=final,
satellite_pass_information=satellite_pass_information,
)

Expand Down

0 comments on commit 95e64e7

Please sign in to comment.