Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
8dcc8c0a
Commit
8dcc8c0a
authored
Aug 12, 2018
by
Jelle van der Waa
🚧
Browse files
mirrors: Add a test for generating mirrorlist with status
parent
090ca11d
Changes
1
Hide whitespace changes
Inline
Side-by-side
mirrors/tests/test_mirrorlist.py
View file @
8dcc8c0a
...
...
@@ -64,3 +64,7 @@ def test_mirrorlist_filter(self):
self
.
assertNotIn
(
self
.
mirror_url
.
hostname
,
response
.
content
)
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
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment