Skip to content

Commit df32e88

Browse files
committed
mirrors: add test for "smart" protocol
1 parent 60667cc commit df32e88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mirrors/tests/test_mirrorlist.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ def test_mirrorlist_all_http(client, mirrorurl):
3232
assert response.status_code == 404
3333

3434

35+
def test_mirrorlist_all_smart(client, mirrorurl):
36+
response = client.get('/mirrorlist/all/smart/', follow=True)
37+
assert response.status_code == 404
38+
39+
3540
def test_mirrorlist_status(client, mirrorurl):
3641
response = client.get('/mirrorlist/?country=all&use_mirror_status=on')
3742
assert response.status_code == 200

0 commit comments

Comments
 (0)