diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc9cf227..e809c673 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: matrix: os: [ubuntu-latest] python-version: ['3.12'] - toxenv: [py, quality, django42, django52, e2e, package] + toxenv: [quality, django42, django52, e2e, package] steps: - uses: actions/checkout@v4 diff --git a/tests/e2e/conftest.py b/tests/e2e/conftest.py index 7ee86d5c..0381d407 100644 --- a/tests/e2e/conftest.py +++ b/tests/e2e/conftest.py @@ -10,7 +10,6 @@ from pymongo.errors import ServerSelectionTimeoutError from forum.mongo import get_database -from test_utils.client import APIClient log = logging.getLogger(__name__) @@ -18,12 +17,6 @@ MONGO_SLEEP_INTERVAL = 5 -@pytest.fixture(name="api_client") -def fixture_api_client() -> APIClient: - """Create an API client for testing.""" - return APIClient() - - def wait_for_mongodb() -> None: """Wait for MongoDB to start.""" db = get_database() diff --git a/tox.ini b/tox.ini index 5e383d25..a0f75e69 100644 --- a/tox.ini +++ b/tox.ini @@ -89,6 +89,7 @@ allowlist_externals = rm touch deps = + Django>=5.2,<5.3 -r{toxinidir}/requirements/test.txt commands = make test-e2e