Skip to content

Commit

Permalink
Add test_find_pathways_by_xref
Browse files Browse the repository at this point in the history
  • Loading branch information
kozo2 committed Aug 19, 2023
1 parent e2f5433 commit 2187c0f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_find_pathways_by_xref.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import pytest
from pywikipathways.find_pathways_by_xref import *

def test_find_pathways_by_xref():
# find by Xref
pathways = find_pathways_by_xref('ENSG00000232810','En')
assert len(pathways) > 0

# find by Xref (again)
pathways = find_pathways_by_xref(identifier="ENSG00000232810", systemCode="En")
assert len(pathways) > 0

0 comments on commit 2187c0f

Please sign in to comment.