summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Milner <mike.milner@canonical.com>2012-01-17 11:49:32 -0400
committerMike Milner <mike.milner@canonical.com>2012-01-17 11:49:32 -0400
commit19da04df35c1e6b22379c7b8e0457b16af299593 (patch)
tree32ace37773c207323c4dc05aa838b0e00fd76591 /tests
parent44ea733b7a462442fe2cc3c858001c0cd909dd1b (diff)
downloadvyos-cloud-init-19da04df35c1e6b22379c7b8e0457b16af299593.tar.gz
vyos-cloud-init-19da04df35c1e6b22379c7b8e0457b16af299593.zip
Use delete_dir_contents from cloudinit.util.
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_handler_ca_certs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/test_handler_ca_certs.py b/tests/unittests/test_handler_ca_certs.py
index d8b98a6b..92460088 100644
--- a/tests/unittests/test_handler_ca_certs.py
+++ b/tests/unittests/test_handler_ca_certs.py
@@ -1,8 +1,8 @@
from unittest import TestCase
from mocker import MockerTestCase
-from cloudinit.util import write_file
-from cloudinit.CloudConfig.cc_ca_certs import handle, update_ca_certs, add_ca_certs, remove_default_ca_certs, delete_dir_contents
+from cloudinit.util import write_file, delete_dir_contents
+from cloudinit.CloudConfig.cc_ca_certs import handle, update_ca_certs, add_ca_certs, remove_default_ca_certs
class TestNoConfig(MockerTestCase):