Removed MEDIA_ROOT setting override for test that did not require it

This commit is contained in:
Wolf-Bastian Poettner 2020-04-13 07:13:28 +00:00
parent db6f423ca7
commit 6e3e066116

View File

@ -331,8 +331,6 @@ class TestDate(TestCase):
self.assertEqual(os.path.isdir(settings.MEDIA_ROOT +
"/documents/originals"), True)
@override_settings(MEDIA_ROOT="/tmp/paperless-tests-{}".
format(str(uuid4())[:8]))
@override_settings(PAPERLESS_FILENAME_FORMAT=None)
def test_format_none(self):
document = Document()