Skip to content

Commit

Permalink
pls work
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Gazey committed Dec 26, 2024
1 parent ca4c9c2 commit 13c5b86
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Homepage = "https://github.com/Sebagabones/Server-Side-Rendered-Includes"
pythonpath = [
"src"
]
addopts = [
"--import-mode=importlib",
]
testpaths = [
"tests",
]
#addopts = [
# "--import-mode=importlib",
#]
#testpaths = [
# "tests",
#]
Binary file modified tests/__pycache__/test_stuff.cpython-311-pytest-7.2.1.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/test_stuff.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_checkFiles(snapshot):
for template in checkIncludes[0].items():
ssri.writeTextToFiles(template[0], template[1], True)
arrayOfMatchesOfNot = [] # an array that will be filled with the output of filecmp
for filesToCompare in zip(inputFiles[1],knownGoodFiles[1]):
for filesToCompare in zip(inputFiles[1].sort(),knownGoodFiles[1].sort()):
sitesFile, knownGoodFile = tuple(filesToCompare)
arrayOfMatchesOfNot.append(filecmp.cmp(sitesFile, knownGoodFile, shallow=False))
assert arrayOfMatchesOfNot == snapshot
Expand Down

0 comments on commit 13c5b86

Please sign in to comment.