summaryrefslogtreecommitdiff
path: root/nova/tests/unit/objects/test_migration_context.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/unit/objects/test_migration_context.py')
-rw-r--r--nova/tests/unit/objects/test_migration_context.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/unit/objects/test_migration_context.py b/nova/tests/unit/objects/test_migration_context.py
index 94e8e9d57f..12becaee38 100644
--- a/nova/tests/unit/objects/test_migration_context.py
+++ b/nova/tests/unit/objects/test_migration_context.py
@@ -10,7 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
-import mock
+from unittest import mock
+
from oslo_serialization import jsonutils
from oslo_utils.fixture import uuidsentinel as uuids