Created
March 31, 2020 09:56
-
-
Save Sergey19940808/806d8b5b123da367ff1ad4dc9efa6ece to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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