my.pdfs: reorganize tests a bit, fix mypy

This commit is contained in:
Dima Gerasimov 2021-03-30 20:44:49 +01:00 committed by karlicoss
parent 5c38872efc
commit e7604c188e
6 changed files with 23 additions and 17 deletions

View file

@ -38,8 +38,8 @@ def test_old_db() -> None:
@pytest.fixture(autouse=True)
def prepare():
testdata = Path(__file__).absolute().parent.parent / 'testdata'
bmdata = testdata / 'hpi-testdata' / 'bluemaestro'
from .common import testdata
bmdata = testdata() / 'hpi-testdata' / 'bluemaestro'
assert bmdata.exists(), bmdata
class bluemaestro: