Commit 8dcc8c0a authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

mirrors: Add a test for generating mirrorlist with status

parent 090ca11d
...@@ -64,3 +64,7 @@ def test_mirrorlist_filter(self): ...@@ -64,3 +64,7 @@ def test_mirrorlist_filter(self):
self.assertNotIn(self.mirror_url.hostname, response.content) self.assertNotIn(self.mirror_url.hostname, response.content)
jp_mirror_url.delete() jp_mirror_url.delete()
def test_mirrorlist_status(self):
response = self.client.get('/mirrorlist/?country=all&use_mirror_status=on')
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