Skip to content

Commit b46329c

Browse files
authored
Improve dataframe split test (#614)
1 parent 3721439 commit b46329c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_parsers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,10 @@ def test_split_df(self) -> None:
543543
("p4:1", "skos:exactMatch", "p1:1", "semapv:ManualMappingCuration"),
544544
("p5:1", "skos:broadMatch", "p6:1", "semapv:ManualMappingCuration"),
545545
("p1:7", "skos:broadMatch", "p2:7", "semapv:ManualMappingCuration"),
546+
# the following rows have CURIEs whose prefixes aren't in the converter
547+
("x:1", "skos:broadMatch", "p2:7", "semapv:ManualMappingCuration"),
548+
("p1:1", "x:2", "p2:7", "semapv:ManualMappingCuration"),
549+
("p1:1", "skos:broadMatch", "x:3", "semapv:ManualMappingCuration"),
546550
]
547551
columns = ["subject_id", "predicate_id", "object_id", "mapping_justification"]
548552
df = pd.DataFrame(rows, columns=columns)

0 commit comments

Comments
 (0)