From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Wed, 8 Feb 2023 17:47:56 +0000 (-0800) Subject: Fixes the test for expiration X-Git-Tag: v1.13.0~1^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40db244d4a84d1bde4d4c78bc4cbdef5303b77d3;p=thirdparty%2Fpaperless-ngx.git Fixes the test for expiration --- diff --git a/src/paperless/tests/test_settings.py b/src/paperless/tests/test_settings.py index a85f0e06ae..44ca46ec4a 100644 --- a/src/paperless/tests/test_settings.py +++ b/src/paperless/tests/test_settings.py @@ -152,7 +152,7 @@ class TestCeleryScheduleParsing(TestCase): MAIL_EXPIRE_TIME = 9.0 * 60.0 CLASSIFIER_EXPIRE_TIME = 59.0 * 60.0 INDEX_EXPIRE_TIME = 23.0 * 60.0 * 60.0 - SANITY_EXPIRE_TIME = 7.0 * 23.0 * 60.0 * 60.0 + SANITY_EXPIRE_TIME = ((7.0 * 24.0) - 1.0) * 60.0 * 60.0 def test_schedule_configuration_default(self): """