diff --git a/pyproject.toml b/pyproject.toml index 21edf702e..83c3b5a49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -201,6 +201,7 @@ lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" "ANN", "T201", "PLR6301", # Method `...` could be a function, class method, or static method + "E501", # Line too long ] "*_test.py" = [ "ANN", diff --git a/tests/g_appledict_test.py b/tests/g_appledict_test.py index 0030aa757..3954ad040 100644 --- a/tests/g_appledict_test.py +++ b/tests/g_appledict_test.py @@ -17,10 +17,10 @@ def __init__(self, *args, **kwargs): hashDict = { "appledict-src/002-no-morphology-v3.txt": "d8086fe8", - "appledict-src/002-no-morphology-v3/002-no-morphology-v3.css": "6818c1e5", - "appledict-src/002-no-morphology-v3/002-no-morphology-v3.plist": "f9f6ff31", - "appledict-src/002-no-morphology-v3/002-no-morphology-v3.xml": "707994d6", - "appledict-src/002-no-morphology-v3/Makefile": "65f736b6", + "appledict-src/002-no-morphology-v3a/002-no-morphology-v3a.css": "6818c1e5", + "appledict-src/002-no-morphology-v3a/002-no-morphology-v3a.plist": "706d1d9c", + "appledict-src/002-no-morphology-v3a/002-no-morphology-v3a.xml": "707994d6", + "appledict-src/002-no-morphology-v3a/Makefile": "ecd42350", } self.dataFileCRC32.update(hashDict) @@ -34,15 +34,16 @@ def comparePlist(self, fpath1, fpath2): def test_tabfile_without_morpho_to_appledict_source(self): self.glos = Glossary() - baseName = "002-no-morphology-v3" - inputFilepath = self.downloadFile(f"appledict-src/{baseName}.txt") - outputDirPath = self.newTempFilePath(f"{baseName}") + inputName = "002-no-morphology-v3" + outputName = "002-no-morphology-v3a" + inputFilepath = self.downloadFile(f"appledict-src/{inputName}.txt") + outputDirPath = self.newTempFilePath(f"{outputName}") expectedFiles = { - name: self.downloadFile(f"appledict-src/{baseName}/{name}") + name: self.downloadFile(f"appledict-src/{outputName}/{name}") for name in [ - f"{baseName}.xml", - f"{baseName}.css", + f"{outputName}.xml", + f"{outputName}.css", "Makefile", ] } @@ -63,8 +64,8 @@ def test_tabfile_without_morpho_to_appledict_source(self): ) self.comparePlist( - join(outputDirPath, f"{baseName}.plist"), - self.downloadFile(f"appledict-src/{baseName}/{baseName}.plist"), + join(outputDirPath, f"{outputName}.plist"), + self.downloadFile(f"appledict-src/{outputName}/{outputName}.plist"), )