Skip to content

Commit

Permalink
formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Nov 15, 2023
1 parent 41df720 commit 777c1e8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/test_implementations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1885,11 +1885,16 @@ def test_annotate_text(self, oi: TextAnnotatorInterface):
def test_entities_metadata_statements(self, oi: BasicOntologyInterface):
test = self.test

cases = [([MEMBRANE], [OIO_CREATION_DATE], [('GO:0016020', 'oio:creation_date', '2014-03-06T11:37:54Z', 'xsd:string', {})])]
cases = [
(
[MEMBRANE],
[OIO_CREATION_DATE],
[("GO:0016020", "oio:creation_date", "2014-03-06T11:37:54Z", "xsd:string", {})],
)
]
for case in cases:
curies, predicates, expected_result = case
result = list(oi.entities_metadata_statements(curies=curies, predicates=predicates))
test.assertEqual(len(result), len(expected_result))
test.assertEqual(len(result[0]), len(expected_result[0]))
test.assertEqual(result[0], expected_result[0])

0 comments on commit 777c1e8

Please sign in to comment.