Пример #1
0
 def test_parse_residue_ValueError(self):
     with pytest.raises(ValueError):
         util.parse_residue('ZZZ')
Пример #2
0
def check_parse_residue(rstring, residue):
    assert_equal(util.parse_residue(rstring), residue)
Пример #3
0
 def test_parse_residue(self, rstring, residue):
     assert util.parse_residue(rstring) == residue
Пример #4
0
def check_parse_residue(rstring, residue):
    assert_equal(util.parse_residue(rstring), residue)