Skip to content

Commit

Permalink
rename fixtures.py to conftest.py to make codeql and flake8 happy.
Browse files Browse the repository at this point in the history
Signed-off-by: Tim van Katwijk <[email protected]>
  • Loading branch information
tim-vk committed Dec 26, 2022
1 parent a374d58 commit 151f6cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
44 changes: 0 additions & 44 deletions tests/fixtures.py

This file was deleted.

4 changes: 0 additions & 4 deletions tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'), [
Expand Down

0 comments on commit 151f6cd

Please sign in to comment.