From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Tue, 10 Jan 2023 22:36:32 +0000 (-0800) Subject: Correctly split up the test cases X-Git-Tag: v1.12.0-beta.rc0~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2460c3e076cc07f07a5c0018af70425c985804ad;p=thirdparty%2Fpaperless-ngx.git Correctly split up the test cases --- diff --git a/src/paperless/tests/test_settings.py b/src/paperless/tests/test_settings.py index a8b5cd11f1..f6d25f6fd7 100644 --- a/src/paperless/tests/test_settings.py +++ b/src/paperless/tests/test_settings.py @@ -63,6 +63,8 @@ class TestIgnoreDateParsing(TestCase): self._parse_checker(test_cases) + +class TestThreadCalculation(TestCase): def test_workers_threads(self): """ GIVEN: @@ -87,6 +89,8 @@ class TestIgnoreDateParsing(TestCase): self.assertLessEqual(default_workers * default_threads, i) + +class TestRedisSocketConversion(TestCase): def test_redis_socket_parsing(self): """ GIVEN: @@ -143,6 +147,8 @@ class TestIgnoreDateParsing(TestCase): result = _parse_redis_url(input) self.assertTupleEqual(expected, result) + +class TestCeleryScheduleParsing(TestCase): def test_schedule_configuration_default(self): """ GIVEN: