diff --git a/.github/workflows/ci_linting.yml b/.github/workflows/ci_linting.yml index a2908f5dea0..f01c949d7dd 100644 --- a/.github/workflows/ci_linting.yml +++ b/.github/workflows/ci_linting.yml @@ -81,7 +81,7 @@ jobs: id: autopep8 uses: peter-evans/autopep8@v2 with: - args: --recursive --diff --exit-code . + args: --recursive --diff --exit-code ./tests/integrationv2 - name: Fail if autopep8 made changes if: steps.autopep8.outputs.exit-code != 0 run: exit 1 diff --git a/tests/integrationv2/conftest.py b/tests/integrationv2/conftest.py index e9459369f8b..ca80561a07c 100644 --- a/tests/integrationv2/conftest.py +++ b/tests/integrationv2/conftest.py @@ -12,6 +12,10 @@ def pytest_addoption(parser): default="off", type=str, choices=['off', 'baseline', 'delta'], help="Use Criterion provider in one of 3 modes: [off,baseline,delta]") + + + + def pytest_configure(config): """ pytest hook that adds the function to deselect tests if the parameters @@ -33,6 +37,7 @@ def pytest_configure(config): def pytest_collection_modifyitems(config, items): + """ pytest hook to modify the test arguments to call the uncollect function. """