From 7f99a2da254e88190e0bef6a843d9d74fb714fc7 Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Fri, 20 Dec 2024 09:28:12 +0000 Subject: [PATCH] role back, --- src/tests/test_national.py | 2 +- test-docker-compose.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tests/test_national.py b/src/tests/test_national.py index fe462df5..7b1db7ff 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 d2248a20..1870d6a4 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