def test_sub(self):
     stringseq = 'NM_015120.4:c.34C>T'
     hgvsseq = self.hp.parse_hgvs_variant(stringseq)
     output = utils.hgvs_dup2indel(hgvsseq)
     self.assertIsInstance(output, str)
     self.assertEqual(output, 'NM_015120.4:c.34_34delCinsCC')
 def test_dup_pair(self):
     stringseq = 'NM_015120.4:c.34dupGA'
     hgvsseq = self.hp.parse_hgvs_variant(stringseq)
     output = utils.hgvs_dup2indel(hgvsseq)
     self.assertIsInstance(output, str)
     self.assertEqual(output, 'NM_015120.4:c.34_34delGAinsGAGA')
 def test_empty(self):
     with self.assertRaises(AttributeError):
         utils.hgvs_dup2indel('')