Add mocking for memcache for Python3 tests
memcache currently doesn't work in Python3. bp python3 Change-Id: Iccebc56132c6dadaea4182e457b611f83d9a6da3
This commit is contained in:
parent
9a61adc564
commit
9d3e8fd54c
|
@ -26,6 +26,7 @@ if six.PY3:
|
|||
from unittest import mock # noqa: our import detection is naive?
|
||||
|
||||
sys.modules['ldappool'] = mock.Mock()
|
||||
sys.modules['memcache'] = mock.Mock()
|
||||
sys.modules['oslo_messaging'] = mock.Mock()
|
||||
sys.modules['paste'] = mock.Mock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue