This project requires that a MySQL/Maria database be running.
The test suite assumes the password will be djAssertModelQueries3
.
docker run --detach --name mariadb -e MYSQL_ROOT_PASSWORD=djAssertModelQueries3 --publish 3306:3306 mariadb:11.4
- Install uv
- Create a virtualenv
uv venv
source .venv/bin/activate
- Install tox
uv pip install tox
- Run the tests
tox -f py313 # If you want to run tests for a specific version of python
tox # If you want to run all tests
To update the test dependencies, there's a helper compile script.
cd tests/requirements
uv run python -m compile
cd ..
git add tests/requirements/*
git commit