From e8a6207d93e7bbad5c12ba95a8f6a2dbe870b882 Mon Sep 17 00:00:00 2001 From: Matthew McKnight Date: Thu, 8 Dec 2022 10:15:30 -0600 Subject: [PATCH 1/2] passenv spacing changes post tox release of 4.0 --- tox.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index d8e41c56d..d9abe3c14 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,9 @@ envlist = py37,py38,py39,py310 [testenv:{unit,py37,py38,py39,py310,py}] description = unit testing skip_install = true -passenv = DBT_* PYTEST_ADDOPTS +passenv = + DBT_* + PYTEST_ADDOPTS commands = {envpython} -m pytest {posargs} tests/unit deps = -rdev-requirements.txt @@ -14,7 +16,9 @@ deps = [testenv:{integration,py37,py38,py39,py310,py}-{snowflake}] description = adapter plugin integration testing skip_install = true -passenv = DBT_* SNOWFLAKE_TEST_* PYTEST_ADDOPTS +passenv = + DBT_* SNOWFLAKE_TEST_* + PYTEST_ADDOPTS commands = snowflake: {envpython} -m pytest {posargs} -m profile_snowflake tests/integration snowflake: {envpython} -m pytest {posargs} tests/functional From 24d3c7ae64dd236804f1840f473b92359970e071 Mon Sep 17 00:00:00 2001 From: Matthew McKnight Date: Thu, 8 Dec 2022 11:25:06 -0600 Subject: [PATCH 2/2] formatting --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d9abe3c14..1338de1ae 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,8 @@ deps = description = adapter plugin integration testing skip_install = true passenv = - DBT_* SNOWFLAKE_TEST_* + DBT_* + SNOWFLAKE_TEST_* PYTEST_ADDOPTS commands = snowflake: {envpython} -m pytest {posargs} -m profile_snowflake tests/integration