Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sergey19940808/806d8b5b123da367ff1ad4dc9efa6ece to your computer and use it in GitHub Desktop.
Save Sergey19940808/806d8b5b123da367ff1ad4dc9efa6ece to your computer and use it in GitHub Desktop.
def test_404_for_unknown_company(self, some_manager_http, some_company):
# Act
rv = some_manager_http.get(f"/api/v1/companies/{some_company.id - 1}")
# Assert
assert rv.status_code == 404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment