예제 #1
0
def test_get_phenotype():
    assert get_omim_number('MCCRP2') != get_omim_number('PLK4')
    assert get_omim_number('MCCRP2') == None
    assert get_omim_number('PLK4') == 605031

# def test_get_specific():
#     """docstring for test_get_specific"""
#     assert get_omim_number('DDX11L1') == 605031
    
예제 #2
0
def test_get_omim_number():
    """Test get_omim_number(hgnc_symbol) method"""

    print("Test get_omim_number with valid hgnc_symbol")
    assert get_omim_number('IFT172') == 607386

    print("Test get_omim_number with invalid hgnc_symbol")
    assert get_omim_number('HEJ') is None

    print("Test getting phenotype")
    assert get_omim_number('MCCRP2') != get_omim_number('PLK4')
    assert get_omim_number('MCCRP2') is None
    assert get_omim_number('PLK4') == 605031
예제 #3
0
    def test_get_omim_number(self):
        """Test get_omim_number(hgnc_symbol) method"""

        print "Test get_omim_number with valid hgnc_symbol"
        assert get_omim_number('IFT172') == 607386

        print "Test get_omim_number with invalid hgnc_symbol"
        assert get_omim_number('HEJ') == None

        print "Test getting phenotype"
        assert get_omim_number('MCCRP2') != get_omim_number('PLK4')
        assert get_omim_number('MCCRP2') == None
        assert get_omim_number('PLK4') == 605031
예제 #4
0
def test_get_non_existing_omim():
    assert get_omim_number('HEJ') == None
예제 #5
0
def test_get_omim_number():
    assert get_omim_number('IFT172') == 607386