From 85d792ae0262bb6a39a453d8c3727c1f2f23b235 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Tue, 10 Dec 2024 17:28:41 -0500 Subject: [PATCH] fix pytest config in pyproject.toml --- pyproject.toml | 3 ++- .env.example => test.env.example | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename .env.example => test.env.example (100%) diff --git a/pyproject.toml b/pyproject.toml index 9cb49cc93..3d6c6b24a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,8 +39,9 @@ Repository = "https://github.com/dbt-labs/dbt-snowflake.git" Issues = "https://github.com/dbt-labs/dbt-snowflake/issues" Changelog = "https://github.com/dbt-labs/dbt-snowflake/blob/main/CHANGELOG.md" -[tool.pytest] +[tool.pytest.ini_options] testpaths = ["tests/functional", "tests/unit"] +env_files = ["test.env"] addopts = "-v -n auto" color = true filterwarnings = [ diff --git a/.env.example b/test.env.example similarity index 100% rename from .env.example rename to test.env.example