From d6e7552457b1ab2f494e2f9ea960792e36d5caba Mon Sep 17 00:00:00 2001 From: Iury Gregory Melo Ferreira Date: Tue, 7 Apr 2020 10:33:11 +0200 Subject: Switch to unittest mock Python3 have a standard library for mock in the unittest module, let's drop the mock requirement and switch tests to unittest mock. Change-Id: I4f1b3e25c8adbc24cdda51c73da3b66967f7ef23 --- ironic/tests/unit/objects/test_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ironic/tests/unit/objects/test_objects.py') diff --git a/ironic/tests/unit/objects/test_objects.py b/ironic/tests/unit/objects/test_objects.py index 621b7f939..3e2b9a8d4 100644 --- a/ironic/tests/unit/objects/test_objects.py +++ b/ironic/tests/unit/objects/test_objects.py @@ -15,9 +15,9 @@ import contextlib import datetime import types +from unittest import mock import iso8601 -import mock from oslo_utils import timeutils from oslo_versionedobjects import base as object_base from oslo_versionedobjects import exception as object_exception -- cgit v1.2.1