def test_add_stop(self): peptide = ctermpep(protein_seq, 5, add_stop=True) assert peptide == protein_seq[-4:] + "*"
def test_short_seq_with_stop(self): peptide = ctermpep(short_protein_seq, 15, add_stop=True) assert peptide == short_protein_seq + "*"
def test_cterm_pep(self): peptide = ctermpep(protein_seq, 5) assert peptide == protein_seq[-5:]
def test_short_seq(self): peptide = ctermpep(short_protein_seq, 15) assert peptide == short_protein_seq