From 79ce0a234584a50b1c6e2b664b9ccf7a5d1fca58 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 21 Sep 2017 16:59:59 -0400 Subject: 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. --- tests/unittests/test_handler/test_handler_bootcmd.py | 1 + 1 file changed, 1 insertion(+) 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): -- cgit v1.2.3