From 5fe6ebb4872358b441ccd3817932d431a8f93d3e Mon Sep 17 00:00:00 2001 From: Tim van Katwijk Date: Mon, 26 Dec 2022 22:13:42 +0100 Subject: [PATCH] rename fixtures.py to conftest.py to make codeql and flake8 happy. Signed-off-by: Tim van Katwijk --- tests/{fixtures.py => conftest.py} | 0 tests/test_parser.py | 4 ---- 2 files changed, 4 deletions(-) rename tests/{fixtures.py => conftest.py} (100%) diff --git a/tests/fixtures.py b/tests/conftest.py similarity index 100% rename from tests/fixtures.py rename to tests/conftest.py diff --git a/tests/test_parser.py b/tests/test_parser.py index dd07afc..c5db795 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -20,12 +20,8 @@ from dockerfile_parse.parser import image_from from dockerfile_parse.constants import COMMENT_INSTRUCTION from dockerfile_parse.util import b2u, u2b, Context, ImageName -from tests.fixtures import dfparser, instruction NON_ASCII = "žluťoučký" -# flake8 does not understand fixtures: -dfparser = dfparser # pylint: disable=self-assigning-variable -instruction = instruction # pylint: disable=self-assigning-variable @pytest.mark.parametrize(('image_string', 'dictionary'), [