packages: tests: drop client.head tests

Due to a Django bug or pytest-django-test bug the tests currently do not
succeed. Drop them for now until they work.
This commit is contained in:
Jelle van der Waa 2023-11-03 11:59:00 +01:00 committed by Jelle van der Waa
parent 6f5d675058
commit d6c4519673
2 changed files with 0 additions and 10 deletions

View File

@ -64,11 +64,6 @@ def test_sort(client, package):
assert '5 matching packages found' in response.content.decode() assert '5 matching packages found' in response.content.decode()
def test_head(client, package):
response = client.head('/packages/?q=unknown')
assert response.status_code == 200
def test_packages(client, package): def test_packages(client, package):
response = client.get('/opensearch/packages/') response = client.get('/opensearch/packages/')
assert response.status_code == 200 assert response.status_code == 200

View File

@ -109,11 +109,6 @@ def test_packages_download(client, package):
# TODO: Figure out how to fake a mirror # TODO: Figure out how to fake a mirror
def test_head(client, package):
response = client.head('/packages/core/x86_64/linux/')
assert response.status_code == 200
def test_groups(client, package): def test_groups(client, package):
response = client.get('/groups/') response = client.get('/groups/')
assert response.status_code == 200 assert response.status_code == 200