diff options
author | Scott Moser <smoser@brickies.net> | 2017-09-21 16:59:59 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-09-21 16:59:59 -0400 |
commit | 79ce0a234584a50b1c6e2b664b9ccf7a5d1fca58 (patch) | |
tree | f4ebc02f6e6484fea1c1f758f834bf2b364909ba /tests/unittests | |
parent | bf6456fd2220e6c1ca43a373e12af0c3d8a93bab (diff) | |
download | vyos-cloud-init-79ce0a234584a50b1c6e2b664b9ccf7a5d1fca58.tar.gz vyos-cloud-init-79ce0a234584a50b1c6e2b664b9ccf7a5d1fca58.zip |
tests: remove a temp file used in bootcmd tests.
The bootcmd test was leaving files in the tmpdir named
ci-FakeExtendedTempFile.XXXXXX.
This cleans those up.
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/test_handler/test_handler_bootcmd.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/test_handler/test_handler_bootcmd.py b/tests/unittests/test_handler/test_handler_bootcmd.py index 580017ed..dbf43e0d 100644 --- a/tests/unittests/test_handler/test_handler_bootcmd.py +++ b/tests/unittests/test_handler/test_handler_bootcmd.py @@ -29,6 +29,7 @@ class FakeExtendedTempFile(object): def __exit__(self, exc_type, exc_value, traceback): self.handle.close() + util.del_file(self.handle.name) class TestBootcmd(CiTestCase): |