Skip to content

Commit

Permalink
Merge pull request #79 from biolink/fix_tests
Browse files Browse the repository at this point in the history
fix tests with updated model
  • Loading branch information
sierra-moxon authored Jun 13, 2022
2 parents 456793f + a3947e3 commit f9fc9bd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/unit/test_toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def toolkit():

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


def test_get_id_prefixes(toolkit):
Expand Down Expand Up @@ -136,9 +136,6 @@ def test_get_all_edge_properties(toolkit):


def test_get_element(toolkit):
gene = toolkit.get_element(GENE)
locus = toolkit.get_element("locus")
assert gene == locus

o = toolkit.get_element("drug intake")
assert o and o.name == "drug exposure"
Expand Down Expand Up @@ -180,7 +177,6 @@ def test_is_translator_canonical_predicate(toolkit):


def test_has_inverse(toolkit):
assert not toolkit.has_inverse("contributor")
assert toolkit.has_inverse("superclass of")
assert toolkit.has_inverse("completed by")
assert not toolkit.has_inverse("this_does_not_exist")
Expand Down

0 comments on commit f9fc9bd

Please sign in to comment.