Skip to content

Commit

Permalink
Update test_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Nov 28, 2023
1 parent 80c7182 commit 81eafac
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,14 @@ def test_curiechain_with_conflicts(self):
"SCTID": "http://identifiers.org/snomedct/",
"SCTID__2": "http://snomed.info/id/",
}
converter = Converter.from_prefix_map(PREFIXMAP)
conv = chain([converter, get_converter()])

EPM = [
{
"prefix": "SCTID",
"prefix_synonyms": ["snomed"],
"uri_prefix": "http://snomed.info/id/",
},
]

conv = chain([Converter.from_prefix_map(PREFIXMAP), Converter.from_extended_prefix_map(EPM)])
self.assertIn("SCTID__2",conv.bimap)

0 comments on commit 81eafac

Please sign in to comment.