Commit 2706d6eb authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

packages: Add test for search head request

parent 9fbbdf98
......@@ -163,6 +163,11 @@ def test_filter_packager_unknown(self):
self.assertEqual(response.status_code, 200)
self.assertIn('5 matching packages found', response.content)
def test_head(self):
response = self.client.head('/packages/?q=unknown')
self.assertEqual(response.status_code, 200)
class OpenSearch(TestCase):
fixtures = ['main/fixtures/arches.json', 'main/fixtures/repos.json',
'main/fixtures/package.json']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment