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:
Riccardo Pittau 2020-07-06 09:29:34 +02:00
parent 36ea661bfc
commit 0841943c92
1 changed files with 2 additions and 1 deletions

View File

@ -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