diff --git a/src/tests/test_national.py b/src/tests/test_national.py index fe462df..7b1db7f 100644 --- a/src/tests/test_national.py +++ b/src/tests/test_national.py @@ -249,7 +249,7 @@ def test_read_truth_national_gsp(db_session, api_client): app.dependency_overrides[get_session] = lambda: db_session - response = api_client.get("/v0/solar/GB/national/pvlive/") + response = api_client.get("/v0/solar/GB/national/pvlive/?This_does_nothing_apart_force_no_caching") assert response.status_code == 200 r_json = response.json() diff --git a/test-docker-compose.yml b/test-docker-compose.yml index d2248a2..1870d6a 100644 --- a/test-docker-compose.yml +++ b/test-docker-compose.yml @@ -21,8 +21,6 @@ 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