summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/objects/test_bios.py
diff options
context:
space:
mode:
authorIury Gregory Melo Ferreira <imelofer@redhat.com>2020-04-07 10:33:11 +0200
committerIury Gregory Melo Ferreira <imelofer@redhat.com>2020-04-30 19:04:17 +0200
commitd6e7552457b1ab2f494e2f9ea960792e36d5caba (patch)
tree34702c40e611da203c310aabb2afcd22d7bedf5f /ironic/tests/unit/objects/test_bios.py
parent2ffbfb4b4627f05954ce453436982fca1448af9a (diff)
downloadironic-d6e7552457b1ab2f494e2f9ea960792e36d5caba.tar.gz
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
Diffstat (limited to 'ironic/tests/unit/objects/test_bios.py')
-rw-r--r--ironic/tests/unit/objects/test_bios.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ironic/tests/unit/objects/test_bios.py b/ironic/tests/unit/objects/test_bios.py
index 0d31ae4ec..57538fbbf 100644
--- a/ironic/tests/unit/objects/test_bios.py
+++ b/ironic/tests/unit/objects/test_bios.py
@@ -11,8 +11,7 @@
# under the License.
import types
-
-import mock
+from unittest import mock
from ironic.common import context
from ironic.db import api as dbapi