mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Correctly split up the test cases
This commit is contained in:
parent
9763b72f81
commit
2460c3e076
@ -63,6 +63,8 @@ class TestIgnoreDateParsing(TestCase):
|
|||||||
|
|
||||||
self._parse_checker(test_cases)
|
self._parse_checker(test_cases)
|
||||||
|
|
||||||
|
|
||||||
|
class TestThreadCalculation(TestCase):
|
||||||
def test_workers_threads(self):
|
def test_workers_threads(self):
|
||||||
"""
|
"""
|
||||||
GIVEN:
|
GIVEN:
|
||||||
@ -87,6 +89,8 @@ class TestIgnoreDateParsing(TestCase):
|
|||||||
|
|
||||||
self.assertLessEqual(default_workers * default_threads, i)
|
self.assertLessEqual(default_workers * default_threads, i)
|
||||||
|
|
||||||
|
|
||||||
|
class TestRedisSocketConversion(TestCase):
|
||||||
def test_redis_socket_parsing(self):
|
def test_redis_socket_parsing(self):
|
||||||
"""
|
"""
|
||||||
GIVEN:
|
GIVEN:
|
||||||
@ -143,6 +147,8 @@ class TestIgnoreDateParsing(TestCase):
|
|||||||
result = _parse_redis_url(input)
|
result = _parse_redis_url(input)
|
||||||
self.assertTupleEqual(expected, result)
|
self.assertTupleEqual(expected, result)
|
||||||
|
|
||||||
|
|
||||||
|
class TestCeleryScheduleParsing(TestCase):
|
||||||
def test_schedule_configuration_default(self):
|
def test_schedule_configuration_default(self):
|
||||||
"""
|
"""
|
||||||
GIVEN:
|
GIVEN:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user