papis-extract/tests/test_annotation.py
Marty Oehme f31a7a3549
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/static_analysis Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Update dependencies, Fix black
2023-08-29 10:43:43 +02:00

7 lines
206 B
Python

from papis_extract.annotation_data import Annotation
def test_colorname_exact():
sut = Annotation("testfile", colors={"stroke": (1.0, 0.0, 0.0)})
c_name = sut.colorname
assert c_name == "red"