From 6a03be90bc10b4162daefd9e49057240bfedfa0f Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Mon, 9 May 2022 21:56:29 +0200 Subject: [PATCH] ci: match export plugin tests for removed method --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec26ceb18a0..2f569be31e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,4 +108,7 @@ jobs: ref: refs/tags/${{ steps.poetry-plugin-export-version.outputs.version }} - name: Run pytest (poetry-plugin-export) - run: poetry run python -m pytest -p no:sugar -q poetry-plugin-export/tests/ + run: | + # patch test mock for removed method + sed -i s/poetry.factory.Factory.create_config/poetry.config.config.Config.create/g poetry-plugin-export/tests/conftest.py + poetry run python -m pytest -p no:sugar -q poetry-plugin-export/tests/