From 549aa4643fac4f36d4ea2f2efb29afd983195191 Mon Sep 17 00:00:00 2001 From: Austin Raney Date: Tue, 12 Mar 2024 20:51:08 -0400 Subject: [PATCH] chore: unpin pytest / add namespace flag. #545 was the issue --- .github/workflows/integration_tests.yml | 2 +- pytest.ini | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 6ea0db142..7cbcb11f7 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -144,6 +144,6 @@ jobs: - name: Run Tests run: | . dmod_venv/bin/activate - python3 -m pip install pytest~=8.0.0 + python3 -m pip install pytest python3 -m pytest -o python_files="it_*.py" -o env_vars='IT_REDIS_CONTAINER_PASS="DPXzqRqjhsXokOVQcPUqOJuzKePMsfUc" IT_REDIS_CONTAINER_HOST_PORT=19639 MODEL_EXEC_ACCESS_KEY=dmod MODEL_EXEC_SECRET_KEY=password' diff --git a/pytest.ini b/pytest.ini index 326fff1b6..a5f561268 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,8 +1,7 @@ [pytest] addopts = --import-mode=importlib -; TODO: uncomment once https://github.com/pytest-dev/pytest/pull/12074 is resolved -; consider_namespace_packages = true +consider_namespace_packages = true ; environment variables that will be added before tests are run ; key=value pairs with no spaces ; env_vars =