Use unittest mock instead of 3rd party mock in test_raid
We should use mock from unittest instead of 3rd party mock. Since we don't have mock in requirements anymore this could cause issues like in [1]. [1] https://zuul.opendev.org/t/openstack/build/ff068dc014be42aabde51f95c8c9828e Change-Id: I5a60aa820b60fd29d8ebbd851f3fd215458bab96
This commit is contained in:
parent
36ea661bfc
commit
0841943c92
|
@ -12,7 +12,8 @@
|
|||
|
||||
"""Test class for iBMC RAID interface."""
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from oslo_utils import importutils
|
||||
|
||||
from ironic.common import exception
|
||||
|
|
Loading…
Reference in New Issue