summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/settings_tests/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/settings_tests/tests.py b/tests/settings_tests/tests.py
index 55ca0de524..b397202e9e 100644
--- a/tests/settings_tests/tests.py
+++ b/tests/settings_tests/tests.py
@@ -577,10 +577,12 @@ class MediaURLStaticURLPrefixTest(SimpleTestCase):
set_script_prefix(val)
def test_not_prefixed(self):
- # Don't add SCRIPT_NAME prefix to valid URLs, absolute paths or None.
+ # Don't add SCRIPT_NAME prefix to absolute paths, URLs, or None.
tests = (
'/path/',
'http://myhost.com/path/',
+ 'http://myhost/path/',
+ 'https://myhost/path/',
None,
)
for setting in ('MEDIA_URL', 'STATIC_URL'):