Mock midonetclient in test_midonet_lib

Change-Id: Idb4de82c193b2f2589131b06bad04bc858499a21
Closes-bug: #1221674
This commit is contained in:
Rossella Sblendido 2013-09-06 10:42:31 +00:00
parent 1a25274e7a
commit fe92e1efbf

View File

@ -20,6 +20,8 @@
# @author: Tomoe Sugihara, Midokura Japan KK # @author: Tomoe Sugihara, Midokura Japan KK
import mock import mock
import sys
sys.modules["midonetclient"] = mock.Mock()
import testtools import testtools
import webob.exc as w_exc import webob.exc as w_exc