Marty Oehme
b564ab4792
Added static analysis (lint, type checking) to be done on each push, and testing to be done on each master branch commit.
7 lines
214 B
Python
7 lines
214 B
Python
from papis_extract.annotation_data import Annotation
|
|
|
|
|
|
def test_matches_colorname_exact():
|
|
sut = Annotation("testfile", colors={"stroke": (1.0, 0.0, 0.0)})
|
|
c_name = sut.colorname
|
|
assert c_name == "red"
|