2
0
Эх сурвалжийг харах

Refs #29887, Refs #24212 -- Added more client servers tests for PyLibMCCache.

Nick Pope 4 жил өмнө
parent
commit
cda0a3d777
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  1. 5 0
      tests/cache/tests.py

+ 5 - 0
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: