def METHOD_NAME(self):
    seq = Protein("ACDFFACGNPSL")
    self.assertEqual(list(seq.find_motifs("N-glycosylation")), [])
    seq = Protein("ACDFNFTACGNPSL")
    self.assertEqual(list(seq.find_motifs("N-glycosylation")),
                     [slice(4, 8)])
    seq = Protein("AC-DFN-FTACGNPSL")
    self.assertEqual(list(seq.find_motifs("N-glycosylation",
                                          ignore=seq.gaps())),
                     [slice(5, 10)])