def test_get_extension_point(self):

        registry = self.registry

        # Add an extension *point*.
        registry.add_extension_point(self._create_extension_point('my.ep'))

        # Make sure we can get it.
        extension_point = registry.get_extension_point('my.ep')
        self.assertNotEqual(None, extension_point)
        self.assertEqual('my.ep', extension_point.id)

        return
Shorten the length of a quantum circuit.
dataset/ETHPy150Open enthought/envisage/envisage/tests/extension_registry_test_case.py/ExtensionRegistryTestCase.test_get_extension_point--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/physics/quantum/circuitutils.py/random_reduce