Running GPF’s unit tests

Environment variables needed

DAE_DB_DIR must not be set to ensure tests run correctly.

PYTHONHASHSEED being set to 0 is necessary for running tests in parallel.

unset DAE_DB_DIR
export PYTHONHASHSEED=0

Setup and run docker containers

From the root gpf directory, run the following commands:

docker compose pull
docker compose up --detach

Running dae tests in parallel

From the dae package, run the following command:

pytest -n 10 dae tests

Running wdae tests in parallel

From the wdae package, run the following command:

pytest -n 10 wdae