From fadc3d6e21a7749f096c34bb0a040a9306afae51 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Thu, 4 Jan 2024 11:52:52 -0800 Subject: [PATCH] Fixes the fix commenting --- src/documents/tests/test_management_exporter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/documents/tests/test_management_exporter.py b/src/documents/tests/test_management_exporter.py index 3ebae7fbc..888572b58 100644 --- a/src/documents/tests/test_management_exporter.py +++ b/src/documents/tests/test_management_exporter.py @@ -502,12 +502,14 @@ class TestExportImport(DirectoriesMixin, FileSystemAssertsMixin, TestCase): GIVEN: - Request to export documents to zipfile - There is one existing file in the target + - There is one existing directory in the target WHEN: - Documents are exported - deletion of existing files is requested THEN: - Zipfile is created - Zipfile contains exported files + - The existing file and directory in target are removed """ shutil.rmtree(os.path.join(self.dirs.media_dir, "documents")) shutil.copytree(