Do not import using oslo namespace
Importing using oslo namespace will not work with oslo.utils 2.0.0 library. Closes-Bug: #1476368 Change-Id: I9090aa92947fc11c10f46404fe0c9bf0b9ecc2df
This commit is contained in:
parent
7d39811f74
commit
4454cf1d26
|
@ -74,7 +74,7 @@ class APITestCase(test.NoDBTestCase):
|
|||
def fake_import_fails(*args, **kwargs):
|
||||
raise Exception('Failed')
|
||||
self.useFixture(fixtures.MonkeyPatch(
|
||||
'oslo.utils.import_module',
|
||||
'oslo_utils.import_module',
|
||||
fake_import_fails))
|
||||
|
||||
imgfile = tempfile.NamedTemporaryFile()
|
||||
|
|
Loading…
Reference in New Issue