diff --git a/README.md b/README.md index dc54313..f78b0b3 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ Deployment of this service is now done through terraform cloud. - `FORECAST_ERROR_HOURS` - using route `/v0/system/GBstatus/check_last_forecast_run` we can check if a forecast has been made in the last `FORECAST_ERROR_HOURS` hours - `ADJUST_MW_LIMIT` - the maximum the api is allowed to adjust the national forecast by +- `FAKE` - This allows fake data to be used, rather than connecting to a database ## Routes to SQL tables diff --git a/test-docker-compose.yml b/test-docker-compose.yml index 1870d6a..d2248a2 100644 --- a/test-docker-compose.yml +++ b/test-docker-compose.yml @@ -21,6 +21,8 @@ services: - DB_URL_PV=postgresql://postgres:postgres@postgres_db:5432/postgres - GIT_PYTHON_REFRESH=quiet - LOG_LEVEL=DEBUG + - CACHE_TIME_SECONDS=0 + - DELETE_CACHE_TIME_SECONDS=0 command: > bash -c "pytest --cov=./src && coverage report -m