mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Fixed import typo for memcache module in tests.
The typo caused the test for the memcached cache plugin to be skipped even when the necessary memcache python module was installed.
This commit is contained in:
2
test/units/plugins/cache/test_cache.py
vendored
2
test/units/plugins/cache/test_cache.py
vendored
@@ -26,7 +26,7 @@ from ansible.plugins.cache.memory import CacheModule as MemoryCache
|
||||
|
||||
HAVE_MEMCACHED = True
|
||||
try:
|
||||
import memcached
|
||||
import memcache
|
||||
except ImportError:
|
||||
HAVE_MEMCACHED = False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user