Clean up the config class names and methods

This commit is contained in:
Veronica Berglyd Olsen committed 2022-11-09 18:47:50 +01:00
1 parent 47b57172eb
commit 8721d53ab2
13 files changed
+81 -86

No files matched your search

+1 -1
View File
@@ -395,7 +395,7 @@ def testCoreTools_NewSample(monkeypatch, fncPath, tmpConf, tmpPath, mockGUI):
srcSample = tmpConf._appRoot / "sample"
dstSample = tmpPath / "sample.zip"
monkeypatch.setattr(
"novelwriter.config.Config.getAssetPath", lambda *a: tmpPath / "sample.zip"
"novelwriter.config.Config.assetPath", lambda *a: tmpPath / "sample.zip"
)
# Cannot extract when the zip does not exist