Running the tests¶
Note: For the moment redis is needed to run the tests. The easiest way start docker’s demo.
docker-compose up --build
In another shell
pip install -r requirements.txt
env CELERY_BROKER_URL=redis://0.0.0.0:6379 pytest test_app
env CELERY_BROKER_URL=redis://0.0.0.0:6379 DJANGO_SETTINGS_MODULE=config.settings.test_demo_app pytest django_structlog_demo_project