Commit 94c9b901 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

packages: test sort parameter for search

parent 2706d6eb
......@@ -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_sort(self):
response = self.client.get('/packages/?sort=pkgname')
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)
......
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