Skip to content

Commit 433f43b

Browse files
remove redundant tests
1 parent 8f8d791 commit 433f43b

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

tests/test_subcategory.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -156,27 +156,3 @@ def test_delete_subcategory_token_error(self, get_headers, create_subcategory, c
156156

157157
utils.verify_token_error_response(delete_resp, expected_code)
158158
self._verify_subcategory_in_db("DeleteTokenError")
159-
160-
def test_get_subcategory_categories_empty(self, create_subcategory):
161-
response = create_subcategory("NoCatRel")
162-
data = response.get_json()
163-
sc_id = data["id"]
164-
165-
resp = self.client.get(f"/subcategory/{sc_id}/categories")
166-
167-
assert resp.status_code == 200
168-
data = resp.get_json()
169-
assert "categories" in data
170-
assert data["categories"] == []
171-
172-
def test_get_subcategory_products_empty(self, create_subcategory):
173-
response = create_subcategory("NoProdRel")
174-
data = response.get_json()
175-
sc_id = data["id"]
176-
177-
resp = self.client.get(f"/subcategory/{sc_id}/products")
178-
179-
assert resp.status_code == 200
180-
data = resp.get_json()
181-
assert "products" in data
182-
assert data["products"] == []

0 commit comments

Comments
 (0)