# Path: hgvs/exceptions.py
# class HGVSError(Exception):
#     pass
# 
# class HGVSUnsupportedOperationError(HGVSError):
#     pass
# 
# class HGVSInvalidVariantError(HGVSError):
#     """Exception raised when variant is inconsistent or invalid"""
#     pass


import os
import unittest
import pytest
import hgvs.dataproviders.uta
import hgvs.variantmapper
import hgvs.parser
import hgvs.normalizer
from hgvs.exceptions import HGVSError, HGVSUnsupportedOperationError, HGVSInvalidVariantError
from support import CACHE
        self.assertEqual(
            str(
                self.norm5.normalize(
                    self.hp.parse_hgvs_variant("NM_001166478.1:c.2_7delinsTTTAGA"))),
            "NM_001166478.1:c.3_4delinsTT")
        self.assertEqual(
            str(self.norm5.normalize(self.hp.parse_hgvs_variant("NM_001166478.1:c.30_31insT"))),
            "NM_001166478.1:c.31dup")
        self.assertEqual(
            str(self.norm5.normalize(self.hp.parse_hgvs_variant("NM_001166478.1:c.61delG"))),
            "NM_001166478.1:c.59del")
        self.assertEqual(
            str(
                self.norm5.normalize(
                    self.hp.parse_hgvs_variant("NM_001166478.1:c.36_37insTCTCTC"))),
            "NM_001166478.1:c.34_35insTCTCTC")
        self.assertEqual(
            str(self.norm5.normalize(self.hp.parse_hgvs_variant("NM_000051.3:c.14_15insT"))),
            "NM_000051.3:c.14dup")

        #Around exon-intron boundary
        self.assertEqual(
            str(self.normc.normalize(self.hp.parse_hgvs_variant("NM_001166478.1:c.59delG"))),
            "NM_001166478.1:c.60del")
        self.assertEqual(
            str(self.norm5c.normalize(self.hp.parse_hgvs_variant("NM_001166478.1:c.61delG"))),
            "NM_001166478.1:c.61del")
        self.assertEqual(
            str(self.norm5c.normalize(self.hp.parse_hgvs_variant("NM_001110792.1:c.1030_1035del"))),
            "NM_001110792.1:c.1029_1034del")

# Path: hgvs/exceptions.py
# class HGVSError(Exception):
#     pass
# 
# class HGVSUnsupportedOperationError(HGVSError):
#     pass
# 
# class HGVSInvalidVariantError(HGVSError):
#     """Exception raised when variant is inconsistent or invalid"""
#     pass


# Path: tests/test_hgvs_normalizer.py
import os
import unittest
import pytest
import hgvs.dataproviders.uta
import hgvs.variantmapper
import hgvs.parser
import hgvs.normalizer
from hgvs.exceptions import HGVSError, HGVSUnsupportedOperationError, HGVSInvalidVariantError
from support import CACHE

        self.assertEqual(
            str(
                self.norm5.normalize(
                    self.hp.parse_hgvs_variant("NM_001166478.1:c.2_7delinsTTTAGA"))),
            "NM_001166478.1:c.3_4delinsTT")
        self.assertEqual(
            str(self.norm5.normalize(self.hp.parse_hgvs_variant("NM_001166478.1:c.30_31insT"))),
            "NM_001166478.1:c.31dup")
        self.assertEqual(
            str(self.norm5.normalize(self.hp.parse_hgvs_variant("NM_001166478.1:c.61delG"))),
            "NM_001166478.1:c.59del")
        self.assertEqual(
            str(
                self.norm5.normalize(
                    self.hp.parse_hgvs_variant("NM_001166478.1:c.36_37insTCTCTC"))),
            "NM_001166478.1:c.34_35insTCTCTC")
        self.assertEqual(
            str(self.norm5.normalize(self.hp.parse_hgvs_variant("NM_000051.3:c.14_15insT"))),
            "NM_000051.3:c.14dup")

        #Around exon-intron boundary
        self.assertEqual(
            str(self.normc.normalize(self.hp.parse_hgvs_variant("NM_001166478.1:c.59delG"))),
            "NM_001166478.1:c.60del")
        self.assertEqual(
            str(self.norm5c.normalize(self.hp.parse_hgvs_variant("NM_001166478.1:c.61delG"))),
            "NM_001166478.1:c.61del")
        self.assertEqual(
            str(self.norm5c.normalize(self.hp.parse_hgvs_variant("NM_001110792.1:c.1030_1035del"))),
            "NM_001110792.1:c.1029_1034del")

        with self.assertRaises(HGVSUnsupportedOperationError):