Skip to content

Commit

Permalink
Update test_extract.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Dec 2, 2024
1 parent 7ce2017 commit f185112
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/test_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import pandas as pd

import pyobo
from pyobo import get_filtered_xrefs, get_id_name_mapping, get_xrefs_df
from pyobo.constants import TARGET_ID, TARGET_PREFIX
from pyobo.mocks import get_mock_get_xrefs_df
Expand Down Expand Up @@ -53,11 +52,3 @@ def test_get_target_xrefs(self):
self.assertFalse(value.startswith("kegg"))

self.assertIsInstance(kegg_xrefs, dict)

@mock_get_xrefs_df
def test_get_equivalent(self, _):
"""Test getting equivalent CURIEs."""
mapt_curies = pyobo.get_equivalent("hgnc:6893")
self.assertIn("ncbigene:4137", mapt_curies)
self.assertIn("ensembl:ENSG00000186868", mapt_curies)
self.assertNotIn("hgnc:6893", mapt_curies)

0 comments on commit f185112

Please sign in to comment.