Skip to content

Commit

Permalink
attempt to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mwdchang committed Jan 24, 2024
1 parent 1fdcc79 commit 131366d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/integration/depr_ensemble_calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_ensemble_calibrate_example(
)
requests_mock.get("http://dataset", text=dataset)

requests_mock.post(f"{TDS_URL}/simulations/", json={"id": None})
requests_mock.post(f"{TDS_URL}/simulations", json={"id": None})

response = client.post(
"/ensemble-calibrate",
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_calibrate_example(
json=dataset_loc,
)

requests_mock.post(f"{TDS_URL}/simulations/", json={"id": str(job_id)})
requests_mock.post(f"{TDS_URL}/simulations", json={"id": str(job_id)})

response = client.post(
"/calibrate",
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_ensemble_simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_ensemble_simulate_example(
model = json.loads(example_context["fetch"](config_id + ".json"))
requests_mock.get(f"{TDS_URL}/model-configurations/{config_id}", json=model)

requests_mock.post(f"{TDS_URL}/simulations/", json={"id": str(job_id)})
requests_mock.post(f"{TDS_URL}/simulations", json={"id": str(job_id)})

response = client.post(
"/ensemble-simulate",
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_simulate_example(
config_id = request["model_config_id"]
model = json.loads(example_context["fetch"](config_id + ".json"))

requests_mock.post(f"{TDS_URL}/simulations/", json={"id": str(job_id)})
requests_mock.post(f"{TDS_URL}/simulations", json={"id": str(job_id)})

response = client.post(
"/simulate",
Expand Down

0 comments on commit 131366d

Please sign in to comment.