summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index 1c51c38b2b..9a800e2b6d 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -1446,6 +1446,11 @@ class PyLibMCCacheTests(BaseMemcachedTests, TestCase):
tests = [
('unix:/run/memcached/socket', '/run/memcached/socket'),
('/run/memcached/socket', '/run/memcached/socket'),
+ ('localhost', 'localhost'),
+ ('localhost:11211', 'localhost:11211'),
+ ('[::1]', '[::1]'),
+ ('[::1]:11211', '[::1]:11211'),
+ ('127.0.0.1', '127.0.0.1'),
('127.0.0.1:11211', '127.0.0.1:11211'),
]
for location, expected in tests: