Use moxstubout and mockpatch from oslotest
Modules moxstubout and mockpatch from openstack/common/fixture/ are obsolete, so we should use them from oslotest library. Also oslotest depends on mock and mox, so we no longer need to specify them directly in test-requirements files Change-Id: I139133457cd73ee83537dead3446ee30d0ee5589
This commit is contained in:
parent
9785786aab
commit
ce741ea5bd
@ -17,9 +17,9 @@ import time
|
||||
|
||||
import mock
|
||||
from oslotest import base as test_base
|
||||
from oslotest import moxstubout
|
||||
|
||||
from openstack.common import excutils
|
||||
from openstack.common.fixture import moxstubout
|
||||
|
||||
|
||||
mox = moxstubout.mox
|
||||
|
Loading…
x
Reference in New Issue
Block a user