Skip to content

Commit

Permalink
Merge pull request #77 from biolink/bm-2.2.16
Browse files Browse the repository at this point in the history
fix tests to work with 2.2.16 bm release
  • Loading branch information
sierra-moxon authored Apr 15, 2022
2 parents 1840d22 + e635cc4 commit 328370a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tests/unit/test_toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,14 @@ def toolkit():

def test_get_model_version(toolkit):
version = toolkit.get_model_version()
assert version == "2.2.13"


def test_get_inverse(toolkit):
assert toolkit.get_inverse('acts upstream of') == 'has upstream actor'
for classt in toolkit.get_all_classes():
element = toolkit.get_element(classt)
toolkit.get
assert version == "2.2.16"


def test_get_id_prefixes(toolkit):
tclass = toolkit.get_element('biolink:Gene')
print(tclass.id_prefixes)



def test_rna(toolkit):
assert 'molecular entity' in toolkit.get_descendants('biolink:Entity')
assert 'microRNA' in toolkit.get_descendants('biolink:Entity')
Expand Down

0 comments on commit 328370a

Please sign in to comment.