From 8500ebb157e5055f13796849874a98651cf0ced5 Mon Sep 17 00:00:00 2001 From: bronsen Date: Thu, 13 Mar 2025 17:44:32 +0100 Subject: [PATCH] [tests] Tell pytest to always create a new db and to NOT run migrations --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 533de0e..cd657dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,4 +4,9 @@ python_files = [ "test_*.py", "tests.py" ] +addopts = [ + "--create-db", + "--no-migrations", + "--capture=sys", +]