diff options
| author | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-04-18 11:53:28 -0500 |
|---|---|---|
| committer | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-04-18 11:53:28 -0500 |
| commit | 5589b05df43b35cf75ddf4092fd14379b673f58a (patch) | |
| tree | f9517c74f8228cdf315b91fe64469efa29b44a06 /ironic_python_agent/tests | |
| parent | 43d2b2cbe09937be8803402cb0c32ade5d172d08 (diff) | |
| download | ironic-python-agent-5589b05df43b35cf75ddf4092fd14379b673f58a.tar.gz | |
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I5fdb2a02ee83c692d46cbe28266fcae033bec6f6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'ironic_python_agent/tests')
| -rw-r--r-- | ironic_python_agent/tests/unit/extensions/test_deploy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic_python_agent/tests/unit/extensions/test_deploy.py b/ironic_python_agent/tests/unit/extensions/test_deploy.py index 531545f1..a282ecf9 100644 --- a/ironic_python_agent/tests/unit/extensions/test_deploy.py +++ b/ironic_python_agent/tests/unit/extensions/test_deploy.py @@ -10,7 +10,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import mock +from unittest import mock from ironic_python_agent import errors from ironic_python_agent.extensions import deploy |
