diff --git a/tests/test_indra_db.py b/tests/test_indra_db.py index 0491be953..9172c1e45 100644 --- a/tests/test_indra_db.py +++ b/tests/test_indra_db.py @@ -2,7 +2,8 @@ def test_fix_id(): - assert fix_id("EFO", "EFO:12345") == "12345" - assert fix_id("GO", "123") == "GO:0000123" - assert fix_id("CHEBI", "123") == "CHEBI:123" - assert fix_id("UP", "P12345-6") == "P12345" + assert fix_id("EFO", "EFO:12345") == ("EFO", "12345") + assert fix_id("GO", "123") == ("GO", "GO:0000123") + assert fix_id("CHEBI", "123") == ("CHEBI", "CHEBI:123") + assert fix_id("UP", "P12345-6") == ("UP", "P12345") + assert fix_id("UP", "SL-123") == ("UPLOC", "SL-123")