From 40db244d4a84d1bde4d4c78bc4cbdef5303b77d3 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Wed, 8 Feb 2023 09:47:56 -0800 Subject: [PATCH] Fixes the test for expiration --- src/paperless/tests/test_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless/tests/test_settings.py b/src/paperless/tests/test_settings.py index a85f0e06a..44ca46ec4 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): """