Add mocking for memcache for Python3 tests

memcache currently doesn't work in Python3.

bp python3

Change-Id: Iccebc56132c6dadaea4182e457b611f83d9a6da3
This commit is contained in:
David Stanek 2015-04-24 18:31:55 +00:00 committed by Dolph Mathews
parent 9a61adc564
commit 9d3e8fd54c
1 changed files with 1 additions and 0 deletions

View File

@ -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()