Skip to content

Commit b794489

Browse files
committed
rename fixtures.py to conftest.py to make codeql and flake8 happy.
Signed-off-by: Tim van Katwijk <timvankatwijk@hotmail.com>
1 parent a374d58 commit b794489

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

File renamed without changes.

tests/test_parser.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,8 @@
2020
from dockerfile_parse.parser import image_from
2121
from dockerfile_parse.constants import COMMENT_INSTRUCTION
2222
from dockerfile_parse.util import b2u, u2b, Context, ImageName
23-
from tests.fixtures import dfparser, instruction
2423

2524
NON_ASCII = "žluťoučký"
26-
# flake8 does not understand fixtures:
27-
dfparser = dfparser # pylint: disable=self-assigning-variable
28-
instruction = instruction # pylint: disable=self-assigning-variable
29-
3025

3126
@pytest.mark.parametrize(('image_string', 'dictionary'), [
3227
(

0 commit comments

Comments
 (0)