Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Oct 1, 2024
1 parent 543254e commit 3467714
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/integration/study_data_blueprint/test_thermal.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,10 @@ def test_lifecycle(self, client: TestClient, user_access_token: str, internal_st
# creating a thermal cluster with a name as a string should not raise an Exception
res = client.post(f"/v1/studies/{internal_study_id}/areas/{area_id}/clusters/thermal", json={"name": 111})
assert res.status_code == 200, res.json()
res = client.request("DELETE", f"/v1/studies/{internal_study_id}/areas/{area_id}/clusters/thermal", json=[111])
assert res.status_code == 200, res.json()
res = client.request(
"DELETE", f"/v1/studies/{internal_study_id}/areas/{area_id}/clusters/thermal", json=["111"]
)
assert res.status_code == 204, res.json()

# We can create a thermal cluster with the following properties:
fr_gas_conventional_props = {
Expand Down

0 comments on commit 3467714

Please sign in to comment.