Skip to content

Commit

Permalink
test: list venues
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes1803 committed Dec 4, 2023
1 parent ac7a539 commit ddce064
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/app/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,8 @@ def test_delete_venue_should_return_404_if_venue_not_existing(self, client_no_au
client_no_auth_checks.cookies = {"access_token": f'Bearer {bearer_token["access_token"]}'}
response = client_no_auth_checks.delete("/venues/123")
assert response.status_code == 404

def test_list_venue_should_return_venue_list(self, client_no_auth_checks, existing_venue_id: int):
response = client_no_auth_checks.get("/list_venues")
assert response.status_code == 200
assert response.content

0 comments on commit ddce064

Please sign in to comment.