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

Commit 8ea4b34

Browse files
committed
use url for cost tests
1 parent bb5fb06 commit 8ea4b34

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tests/integration_test_20_processing.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,13 @@ def test_processing_apply_constraints(api_anon_client: ApiClient) -> None:
4848

4949

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

5659

5760
def test_processing_get_jobs_status(api_anon_client: ApiClient) -> None:

0 commit comments

Comments
 (0)