From 6626a7068b741a3f698d2ec73d2a68740ea24d59 Mon Sep 17 00:00:00 2001 From: Javier Torres Date: Thu, 14 Nov 2024 18:50:22 +0100 Subject: [PATCH] Review rework --- lumigator/python/mzai/backend/README.md | 2 ++ lumigator/python/mzai/sdk/README.md | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lumigator/python/mzai/backend/README.md b/lumigator/python/mzai/backend/README.md index 6fc9be189..b3455d64c 100644 --- a/lumigator/python/mzai/backend/README.md +++ b/lumigator/python/mzai/backend/README.md @@ -26,6 +26,8 @@ The backend needs to retrieve the location of the database used in tests via the SQLALCHEMY_DATABASE_URL=sqlite:///local.db uv run pytest ``` +Note that this will create an SQLite database file named `local.db` in the `backend` directory. Remove it before running another batch of tests. + ## Data models As an engineer/contributor, when you change a data model or add a new model which needs to be diff --git a/lumigator/python/mzai/sdk/README.md b/lumigator/python/mzai/sdk/README.md index eaaa95c40..42b53450a 100644 --- a/lumigator/python/mzai/sdk/README.md +++ b/lumigator/python/mzai/sdk/README.md @@ -36,5 +36,8 @@ To run integration tests, please use: pushd ../../../../ # go back to the project root make start-lumigator-build # wait until all containers are up and running popd -uv run pytest -o python_files="int_test_*.py" +uv run pytest -o python_files="int_test_*.py" # wait until all tests have passed; update and repeat... +pushd ../../../../ # go back to the project root +make local-down # wait until all containers are removed +popd ``` \ No newline at end of file