mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-12 21:35:40 -05:00
Get initial durations of all tests
This commit is contained in:
@@ -241,7 +241,7 @@ addopts = [
|
|||||||
"--numprocesses=auto",
|
"--numprocesses=auto",
|
||||||
"--maxprocesses=16",
|
"--maxprocesses=16",
|
||||||
"--quiet",
|
"--quiet",
|
||||||
"--durations=50",
|
"--durations=0",
|
||||||
"--junitxml=junit.xml",
|
"--junitxml=junit.xml",
|
||||||
"-o junit_family=legacy",
|
"-o junit_family=legacy",
|
||||||
]
|
]
|
||||||
|
@@ -30,7 +30,7 @@ def authenticated_rest_api_client(rest_api_client: APIClient):
|
|||||||
yield rest_api_client
|
yield rest_api_client
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
# @pytest.fixture(autouse=True)
|
||||||
def configure_whitenoise_middleware(request, settings):
|
def configure_whitenoise_middleware(request, settings):
|
||||||
"""
|
"""
|
||||||
By default, remove Whitenoise middleware from tests.
|
By default, remove Whitenoise middleware from tests.
|
||||||
|
Reference in New Issue
Block a user