diff options
author | Mike Milner <mike.milner@canonical.com> | 2012-01-17 11:49:32 -0400 |
---|---|---|
committer | Mike Milner <mike.milner@canonical.com> | 2012-01-17 11:49:32 -0400 |
commit | 19da04df35c1e6b22379c7b8e0457b16af299593 (patch) | |
tree | 32ace37773c207323c4dc05aa838b0e00fd76591 /tests | |
parent | 44ea733b7a462442fe2cc3c858001c0cd909dd1b (diff) | |
download | vyos-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.py | 4 |
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): |