Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
use url for cost tests
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Oct 3, 2024
1 parent bb5fb06 commit 8ea4b34
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/integration_test_20_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ def test_processing_apply_constraints(api_anon_client: ApiClient) -> None:


def test_processing_estimate_costs(api_anon_client: ApiClient) -> None:
result = api_anon_client.estimate_costs(
"test-layout-sandbox-nogecko-dataset", size=100
)
assert "cost" in result
result = api_anon_client.estimate_costs("test-adaptor-url", variable=["foo", "bar"])
assert result == {
"id": "size",
"cost": 2.0,
"limit": 1000.0,
"cost_bar_steps": None,
}


def test_processing_get_jobs_status(api_anon_client: ApiClient) -> None:
Expand Down

0 comments on commit 8ea4b34

Please sign in to comment.