From a2ce0af79ffa5ad4da78810ab80dce4012b1a37f Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Wed, 10 Sep 2025 09:10:07 -0700 Subject: [PATCH] Get initial durations of all tests --- pyproject.toml | 2 +- src/documents/tests/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a3c446832..5a68cc26b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -241,7 +241,7 @@ addopts = [ "--numprocesses=auto", "--maxprocesses=16", "--quiet", - "--durations=50", + "--durations=0", "--junitxml=junit.xml", "-o junit_family=legacy", ] diff --git a/src/documents/tests/conftest.py b/src/documents/tests/conftest.py index 3b2b57e94..ea25569a4 100644 --- a/src/documents/tests/conftest.py +++ b/src/documents/tests/conftest.py @@ -30,7 +30,7 @@ def authenticated_rest_api_client(rest_api_client: APIClient): yield rest_api_client -@pytest.fixture(autouse=True) +# @pytest.fixture(autouse=True) def configure_whitenoise_middleware(request, settings): """ By default, remove Whitenoise middleware from tests.