def testNewKey__register(self):
        v = lambda: 'bar'
        t = {'a': 1, 'b': 2, 'c': 3}
        self.registry.register('foo', v, t)
        self.assertEqual(self.registry._actions['foo'], v)
        self.assertEqual(self.registry._type_info['foo'], t)
ExtRegistry.register: adds a new key.
dataset/ETHPy150Open xtrementl/focus/tests/unit/test_registry.py/TestExtRegistry.testNewKey__register