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:
parent
80e109e1ad
commit
ce17557b84
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:
|
||||
|
|
Loading…
Reference in a new issue