diff options
author | Iury Gregory Melo Ferreira <imelofer@redhat.com> | 2020-04-07 10:33:11 +0200 |
---|---|---|
committer | Iury Gregory Melo Ferreira <imelofer@redhat.com> | 2020-04-30 19:04:17 +0200 |
commit | d6e7552457b1ab2f494e2f9ea960792e36d5caba (patch) | |
tree | 34702c40e611da203c310aabb2afcd22d7bedf5f /ironic/tests/unit/objects/test_deploy_template.py | |
parent | 2ffbfb4b4627f05954ce453436982fca1448af9a (diff) | |
download | ironic-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_deploy_template.py')
-rw-r--r-- | ironic/tests/unit/objects/test_deploy_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/tests/unit/objects/test_deploy_template.py b/ironic/tests/unit/objects/test_deploy_template.py index 7a871ef4b..11863bcda 100644 --- a/ironic/tests/unit/objects/test_deploy_template.py +++ b/ironic/tests/unit/objects/test_deploy_template.py @@ -10,7 +10,7 @@ # License for the specific language governing permissions and limitations # under the License. -import mock +from unittest import mock from ironic.common import context from ironic.db import api as dbapi |