Add home path getter to config

This commit is contained in:
Veronica Berglyd Olsen
2024-04-13 00:12:43 +02:00
parent 95d91562ec
commit 4b5383f1c7
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -200,6 +200,9 @@ def testBaseConfig_Methods(fncPath):
tstConf = Config()
tstConf.initConfig(confPath=fncPath, dataPath=fncPath)
# Home Path
assert tstConf.homePath() == Path.home().absolute()
# Data Path
assert tstConf.dataPath() == fncPath
assert tstConf.dataPath("stuff") == fncPath / "stuff"