Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/modules/cdr/test_cdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,7 @@ def test_create_curriculum_membership_user(client: TestClient):
f"/cdr/users/{user.id!s}/curriculums/{curriculum.id!s}/",
headers={"Authorization": f"Bearer {token_user}"},
)
assert response.status_code == 201
assert response.status_code == 204


def test_delete_curriculum_membership_wrong_user(client: TestClient):
Expand Down
4 changes: 2 additions & 2 deletions tests/modules/test_amap.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def test_add_product_to_delivery(client: TestClient) -> None:
json={"products_ids": [product.id]},
headers={"Authorization": f"Bearer {token}"},
)
assert response.status_code == 201
assert response.status_code == 204


def test_remove_product_from_delivery(client: TestClient) -> None:
Expand All @@ -250,7 +250,7 @@ def test_remove_product_from_delivery(client: TestClient) -> None:
json={"products_ids": [product.id]},
headers={"Authorization": f"Bearer {token}"},
)
assert response.status_code == 201
assert response.status_code == 204


def test_get_orders_from_delivery(client: TestClient) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/modules/test_ph.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_create_paper_pdf_and_cover(client: TestClient) -> None:
headers={"Authorization": f"Bearer {token_ph}"},
)

assert response.status_code == 201
assert response.status_code == 204
assert Path(f"data/ph/pdf/{paper.id}.pdf").is_file()
assert Path(f"data/ph/cover/{paper.id}.jpg").is_file()

Expand Down
Loading