mirrors: remove duplicate function

This commit is contained in:
Jelle van der Waa 2019-02-24 17:40:16 +01:00
parent aae6e43fcc
commit faeaf59293

View File

@ -15,11 +15,7 @@ def test_mirrorlist(self):
response = self.client.get('/mirrorlist/')
self.assertEqual(response.status_code, 200)
def test_mirrorlist_tier(self):
response = self.client.get('/mirrorlist/tier/1/')
self.assertEqual(response.status_code, 200)
def test_mirrorlist_tier(self):
def test_mirrorlist_tier_last(self):
last_tier = Mirror.TIER_CHOICES[-1][0]
response = self.client.get('/mirrorlist/tier/{}/'.format(last_tier + 1))
self.assertEqual(response.status_code, 404)