Skip to content
Snippets Groups Projects
Commit 3cebfce2 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

Clean up after test

parent 4bb18b25
No related branches found
No related tags found
No related merge requests found
......@@ -157,6 +157,11 @@ class GitHashArborescenceTree(unittest.TestCase):
subprocess.check_output(
['tar', 'xvf', sample_folder_archive, '-C', cls.tmp_root_path])
@classmethod
def tearDown(cls):
if os.path.exists(cls.tmp_root_path):
shutil.rmtree(cls.tmp_root_path)
@istest
def walk_and_compute_sha1_from_directory(self):
# make a temporary arborescence tree to hash without ignoring anything
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment