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():