my.google.takeout.paths: migrate to new style lazy config

also clean up tests a little and move into my.tests.location.google
This commit is contained in:
Dima Gerasimov 2024-08-25 22:36:54 +01:00
parent 2ff2dcfc00
commit bc059872b3
4 changed files with 86 additions and 46 deletions

View file

@ -31,3 +31,7 @@ def testdata() -> Path:
d = Path(__file__).absolute().parent.parent.parent / 'testdata'
assert d.exists(), d
return d
# prevent pytest from treating this as test
testdata.__test__ = False # type: ignore[attr-defined]