Skip to content

Commit

Permalink
Fix nightly tests, handle changed response json (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
roywilly authored Feb 13, 2024
1 parent 279a1a4 commit 71db900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tests/test_access/tst_access_drogon_manage_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ def test_aggregations_bulk(explorer: Explorer):
}
response = explorer._sumo.post(f"/aggregations", json=body)
print(response.status_code)
assert response.status_code == 200
assert response.json().get("batchType") == "batch"
assert response.status_code in [200, 201, 202]


def test_aggregations_fast(explorer: Explorer):
Expand Down
3 changes: 1 addition & 2 deletions tests/test_access/tst_access_drogon_write_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ def test_aggregate_bulk(explorer: Explorer):
}
response = explorer._sumo.post(f"/aggregations", json=body)
print(response.status_code)
assert response.status_code == 200
assert response.json().get("batchType") == "batch"
assert response.status_code in [200, 201, 202]


def test_aggregations_fast(explorer: Explorer):
Expand Down

0 comments on commit 71db900

Please sign in to comment.