fix: Fix test fixtures for new annotation structure

This commit is contained in:
Marty Oehme 2024-01-24 11:14:45 +01:00
parent 67bfc30396
commit 333bd279b9
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 10 additions and 9 deletions

View file

@ -11,8 +11,8 @@ from papis_extract.formatter import (
document = Document(data={"author": "document-author", "title": "document-title"})
annotations = [
Annotation("myfile.pdf", text="my lovely text"),
Annotation("myfile.pdf", text="my second text", content="with note"),
Annotation("myfile.pdf", content="my lovely text"),
Annotation("myfile.pdf", content="my second text", note="with note"),
]
md_default_output = """============== ---------------
document-title - document-author