From 22ca5378fdcb0f489529519a9563e4ef4c5cd42f Mon Sep 17 00:00:00 2001 From: Marcin Binkowski Date: Wed, 17 Aug 2022 22:06:19 +0200 Subject: [PATCH] Remove unused param --- pyproject.toml | 2 +- tests/test_flake8_unused_fixtures.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0052994..fd6e8ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "flake8_unused_fixtures" -version = "0.1.1" +version = "0.2.0" description = "Warn about unnecesary fixtures in tests definition." authors = ["Marcin Binkowski "] repository = "https://github.com/MarcinBinkowski/flake8_unused_fixtures" diff --git a/tests/test_flake8_unused_fixtures.py b/tests/test_flake8_unused_fixtures.py index 69a027a..1850470 100644 --- a/tests/test_flake8_unused_fixtures.py +++ b/tests/test_flake8_unused_fixtures.py @@ -114,7 +114,7 @@ def test_many_fixtures_all_unused(keyword, line_1, line_2): @pytest.mark.parametrize("keyword", ("def", "async def")) -def test_used_fixture_in_class(keyword, line): +def test_used_fixture_in_class(keyword): test_code = f""" @pytest.fixture {keyword} fxt():