diff --git a/src/documents/tests/test_file_handling.py b/src/documents/tests/test_file_handling.py index 912d02573..c4d5f7f32 100644 --- a/src/documents/tests/test_file_handling.py +++ b/src/documents/tests/test_file_handling.py @@ -264,6 +264,8 @@ class TestDate(TestCase): "/documents/originals/none/none"), False) self.assertEqual(os.path.isdir(settings.MEDIA_ROOT + "/documents/originals/none"), False) + self.assertEqual(os.path.isdir(settings.MEDIA_ROOT + + "/documents/originals"), False) @override_settings(MEDIA_ROOT="/tmp/paperless-tests-{}". format(str(uuid4())[:8]))