Skip to content

Commit 22a3c4e

Browse files
authored
Merge pull request #249 from lukpueh/teardown-test-tmpdir
Properly tear down storage tests
2 parents 7531747 + 327c946 commit 22a3c4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_storage.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
import os
2727
import tempfile
28+
import shutil
2829
import unittest
2930

3031
import securesystemslib.exceptions
@@ -45,6 +46,7 @@ def setUp(self):
4546

4647
def tearDown(self):
4748
self.fileobj.close()
49+
shutil.rmtree(self.temp_dir)
4850

4951

5052
def test_exceptions(self):

0 commit comments

Comments
 (0)