From 2f6cb4e8f68fa67fb14553bb90a18d3c2b91c5a1 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Mon, 3 Feb 2020 12:29:37 +0000 Subject: [PATCH] Fix deprecation warning --- tests/test_cookiecutter_generation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cookiecutter_generation.py b/tests/test_cookiecutter_generation.py index 40e6cf1b..39b05d7c 100755 --- a/tests/test_cookiecutter_generation.py +++ b/tests/test_cookiecutter_generation.py @@ -3,7 +3,7 @@ import re import pytest from cookiecutter.exceptions import FailedHookException -from pytest_cases import pytest_fixture_plus +from pytest_cases import fixture_plus import sh import yaml from binaryornot.check import is_binary @@ -26,7 +26,7 @@ def context(): } -@pytest_fixture_plus +@fixture_plus @pytest.mark.parametrize("windows", ["y", "n"], ids=lambda yn: f"win:{yn}") @pytest.mark.parametrize("use_docker", ["y", "n"], ids=lambda yn: f"docker:{yn}") @pytest.mark.parametrize("use_celery", ["y", "n"], ids=lambda yn: f"celery:{yn}")