mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
fcc9258b74
commit
d2ad17e88f
1 changed files with 1 additions and 1 deletions
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
|
HAVE_MEMCACHED = True
|
||||||
try:
|
try:
|
||||||
import memcached
|
import memcache
|
||||||
except ImportError:
|
except ImportError:
|
||||||
HAVE_MEMCACHED = False
|
HAVE_MEMCACHED = False
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue