Mock midonetclient in test_midonet_lib
Change-Id: Idb4de82c193b2f2589131b06bad04bc858499a21 Closes-bug: #1221674
This commit is contained in:
parent
1a25274e7a
commit
fe92e1efbf
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user