From 765a53f8fba1ef2399e6004e3da1511958f56f90 Mon Sep 17 00:00:00 2001 From: Shikou Date: Fri, 13 Sep 2024 17:02:16 +0900 Subject: [PATCH] roll back unwanted fixes --- docker-compose-local.yml | 1 - testapi.sh | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docker-compose-local.yml b/docker-compose-local.yml index 4a979245..7827dffb 100644 --- a/docker-compose-local.yml +++ b/docker-compose-local.yml @@ -31,7 +31,6 @@ services: restart: always volumes: - ./api/app:/app:ro - - ./api/app/alembic:/app/alembic:rw # for 'alembic revision --autogenerate' - ./key:/key:ro db: image: postgres:14 diff --git a/testapi.sh b/testapi.sh index 81decf60..ffea7a00 100755 --- a/testapi.sh +++ b/testapi.sh @@ -1,8 +1,4 @@ #!/bin/sh docker compose -f docker-compose-test.yml up --build -d -#docker compose -f docker-compose-test.yml exec testapi pytest -s -vv app/tests/integrations/test_ticket_status.py -#docker compose -f docker-compose-test.yml exec testapi pytest -s -vv app/tests/requests/test_pteams.py -#docker compose -f docker-compose-test.yml exec testapi pytest -s -vv app/tests/medium/routers/test_topics.py::test_delete_topic -#docker compose -f docker-compose-test.yml exec testapi pytest -s -vv app/tests/small/test_ssvc_calculator.py -docker compose -f docker-compose-test.yml exec testapi pytest -s -vv app/tests +docker compose -f docker-compose-test.yml exec testapi pytest -vv app/tests/ # --cov --cov-branch --cov-report=term-missing --cov-config=app/tests/.coveragerc docker compose -f docker-compose-test.yml down -v