fix: Fix annotation value comparison

This commit is contained in:
Marty Oehme 2025-09-11 18:38:59 +02:00
parent 3344147f1f
commit d840609ecb
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 12 additions and 2 deletions

View file

@ -4,6 +4,12 @@ from papis.document import Document
from papis_extract.annotation import Annotation
def test_value_comparison_works():
sut = Annotation("myfile", content="Here be content!", note="and a note")
other = Annotation("myfile", content="Here be different content!", note="but still a note")
assert sut != other
@pytest.mark.parametrize(
"fmt_string,expected",
[