def _registerComponents(self): # Install a bit of configuration that make_app() usually # does for us. reg = get_current_registry() config = Configurator(reg) config.setup_registry() config.load_zcml('opencore.includes:configure.zcml')
def _registerComponents(self): # Install a bit of configuration that make_app() usually # does for us. reg = get_current_registry() config = Configurator(reg) config.setup_registry() config.load_zcml('karl.includes:configure.zcml') from zope.interface import Interface testing.registerAdapter(DummyToolAddables, (Interface, Interface), IToolAddables)