mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Removed MEDIA_ROOT setting override for test that did not require it
This commit is contained in:
parent
db6f423ca7
commit
6e3e066116
@ -331,8 +331,6 @@ class TestDate(TestCase):
|
|||||||
self.assertEqual(os.path.isdir(settings.MEDIA_ROOT +
|
self.assertEqual(os.path.isdir(settings.MEDIA_ROOT +
|
||||||
"/documents/originals"), True)
|
"/documents/originals"), True)
|
||||||
|
|
||||||
@override_settings(MEDIA_ROOT="/tmp/paperless-tests-{}".
|
|
||||||
format(str(uuid4())[:8]))
|
|
||||||
@override_settings(PAPERLESS_FILENAME_FORMAT=None)
|
@override_settings(PAPERLESS_FILENAME_FORMAT=None)
|
||||||
def test_format_none(self):
|
def test_format_none(self):
|
||||||
document = Document()
|
document = Document()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user