Refactoring code for modular approach
This commit is contained in:
@@ -31,7 +31,7 @@ class TestErrorHandling:
|
||||
response = client.get("/api/v1/products/NONEXISTENT", headers=auth_headers)
|
||||
assert response.status_code == 404
|
||||
|
||||
response = client.get("/api/v1/shops/NONEXISTENT", headers=auth_headers)
|
||||
response = client.get("/api/v1/shop/NONEXISTENT", headers=auth_headers)
|
||||
assert response.status_code == 404
|
||||
|
||||
def test_duplicate_resource_creation(self, client, auth_headers, test_product):
|
||||
|
||||
Reference in New Issue
Block a user