Skip to content

Commit 151f6cd

Browse files
committed
rename fixtures.py to conftest.py to make codeql and flake8 happy.
Signed-off-by: Tim van Katwijk <[email protected]>
1 parent a374d58 commit 151f6cd

File tree

2 files changed

+0
-48
lines changed

2 files changed

+0
-48
lines changed

tests/fixtures.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

tests/test_parser.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +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
2925

3026

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

0 commit comments

Comments
 (0)