summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler/test_handler_locale.py
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-01-29 16:55:39 -0500
committerGitHub <noreply@github.com>2020-01-29 14:55:39 -0700
commit5f8f85bb38cc972d3d2c705a1ec73db3f690f323 (patch)
tree6f024357106ab9cd33334096dadd9978b3561849 /tests/unittests/test_handler/test_handler_locale.py
parent8409dd7da21b064214091edd8f1469267be1e738 (diff)
downloadvyos-cloud-init-5f8f85bb38cc972d3d2c705a1ec73db3f690f323.tar.gz
vyos-cloud-init-5f8f85bb38cc972d3d2c705a1ec73db3f690f323.zip
Replace mock library with unittest.mock (#186)
* cloudinit: replace "import mock" with "from unittest import mock" * test-requirements.txt: drop mock Co-authored-by: Chad Smith <chad.smith@canonical.com>
Diffstat (limited to 'tests/unittests/test_handler/test_handler_locale.py')
-rw-r--r--tests/unittests/test_handler/test_handler_locale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_locale.py b/tests/unittests/test_handler/test_handler_locale.py
index e29a06f9..b3deb250 100644
--- a/tests/unittests/test_handler/test_handler_locale.py
+++ b/tests/unittests/test_handler/test_handler_locale.py
@@ -20,10 +20,10 @@ from configobj import ConfigObj
from six import BytesIO
import logging
-import mock
import os
import shutil
import tempfile
+from unittest import mock
LOG = logging.getLogger(__name__)