summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-06-10 15:00:52 -0400
committerScott Moser <smoser@ubuntu.com>2016-06-10 15:00:52 -0400
commit2d3eb3a5730208b84e141f08df10f23c1447fdb5 (patch)
tree2006133c52a86cc967166b8ca59310df3ef37be6 /tests/unittests/test_datasource
parentcb74876aa4c9e81eab4f1f0fa4967988f708db15 (diff)
downloadvyos-cloud-init-2d3eb3a5730208b84e141f08df10f23c1447fdb5.tar.gz
vyos-cloud-init-2d3eb3a5730208b84e141f08df10f23c1447fdb5.zip
one more
Diffstat (limited to 'tests/unittests/test_datasource')
-rw-r--r--tests/unittests/test_datasource/test_azure_helper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/test_datasource/test_azure_helper.py b/tests/unittests/test_datasource/test_azure_helper.py
index d07a1f07..9a15d15e 100644
--- a/tests/unittests/test_datasource/test_azure_helper.py
+++ b/tests/unittests/test_datasource/test_azure_helper.py
@@ -1,4 +1,5 @@
import os
+import shutil
from cloudinit.sources.helpers import azure as azure_helper
@@ -288,6 +289,7 @@ class TestOpenSSLManager(TestCase):
self.subp.side_effect = capture_directory
manager = azure_helper.OpenSSLManager()
self.assertEqual(manager.tmpdir, subp_directory['path'])
+ manager.clean_up()
@mock.patch.object(azure_helper, 'cd', mock.MagicMock())
@mock.patch.object(azure_helper.tempfile, 'mkdtemp', mock.MagicMock())