From 13c5b862870a6298f628407b2a92e0b26fbaf431 Mon Sep 17 00:00:00 2001 From: Sebastian Gazey Date: Thu, 26 Dec 2024 20:44:57 +0800 Subject: [PATCH] pls work --- pyproject.toml | 12 ++++++------ .../test_stuff.cpython-311-pytest-7.2.1.pyc | Bin 14886 -> 14928 bytes tests/test_stuff.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ddd7f31..f1c0175 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", +#] diff --git a/tests/__pycache__/test_stuff.cpython-311-pytest-7.2.1.pyc b/tests/__pycache__/test_stuff.cpython-311-pytest-7.2.1.pyc index a325cb8a478691c29d5a25199002f6487b1ce3bf..15699d0c55226fe5348a2032a77558f420178cd8 100644 GIT binary patch delta 931 zcmZ2ha-oEGIWI340}$Ny%T3=skyny&*+g|MU8WrNT(&4SMurrI6viBmC=M{q8N~^v zxuUp$G;9E>Bg4cBPf39mhA7Dt#$X0b!IvQ8{4^PFu@n~2EI z#N5Zm4P+E?P2R@b#>lyPqcc8$u^?$j7pnh zME^4}vQ3VWkU+8tugfGRZ;()8RNs7A!jxGD?z&r?Ihn;JZom*K#^$G$Tt&>2O=LV7 zxhL1j*fDBv-YXN&tOnOzWR1gbnjn2n3Z;ztn|CM}GaJEm+~Ug2D=5WnVUZ2cL`_hH z%Bnap8gGtMxx#FS(9M@unhSQUbACZ)Y6>1ZY;Vf0|!@ z309Ygg3S@1eA6TwXqKz#3`Vcb_e_JC7^Nl~S-5b5lK(B{;-ciqRTeUgER&~OM04c; Z#TbFO*ktk_3vHnX3?dg$(PVYY{{TnA!U6yQ delta 953 zcmcamvaE!6IWI340}yQS%uSy$kyny&)1~X_1yaXBHxA8#$6WcA8;^Lyr$)?PGY#@V+I47TEZe!%! z9KgcDY{~`_;Q$i1I8ri;oHJ6Bvx~s0xIq$pAc7x62mpzdtPm-c$#1!oCa-4aW8~kw zi~R?a87oKy!X(bL%$(F@f<{e#!DYcHyjhX^7n3>2gkMa$CATsQX+eL;z37O4b1m&4kh%sie zxu`j#!sdL@|4fXmlk+7ckaXd3>}m-sM%B&FButrg;I`c2%*iY+aRUZeF*Yx*@MTU$TfMQj2)xq<_j|M%xZAmMb;Xo&!)5v8s+iasb zg~b421TQ#cc;+SNl%`c9(DFY3 Dqi4$M diff --git a/tests/test_stuff.py b/tests/test_stuff.py index f76d991..e7d0dee 100644 --- a/tests/test_stuff.py +++ b/tests/test_stuff.py @@ -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