my.pdfs: reorganize tests a bit, fix mypy
This commit is contained in:
parent
5c38872efc
commit
e7604c188e
6 changed files with 23 additions and 17 deletions
|
@ -32,10 +32,8 @@ def prepare(tmp_path: Path):
|
|||
|
||||
|
||||
def _prepare_google_config(tmp_path: Path):
|
||||
testdata = Path(__file__).absolute().parent.parent / 'testdata'
|
||||
assert testdata.exists(), testdata
|
||||
|
||||
track = one(testdata.rglob('italy-slovenia-2017-07-29.json'))
|
||||
from .common import testdata
|
||||
track = one(testdata().rglob('italy-slovenia-2017-07-29.json'))
|
||||
|
||||
# todo ugh. unnecessary zipping, but at the moment takeout provider doesn't support plain dirs
|
||||
import zipfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue