##// END OF EJS Templates
pytest: restructure fixtures/plugins to fix problems with pkg_resources and Can't perform this operation for unregistered loader type errors....
pytest: restructure fixtures/plugins to fix problems with pkg_resources and Can't perform this operation for unregistered loader type errors. - seems the latest pytest breaks older packages relying on pkg_resources when defining a entrypoints plugins - change the way we register plugins to be local only, this is what we need anyway

File last commit:

r2351:59272121 default
r4986:8782a2c5 default
Show More
plugins_base.mako
8 lines | 248 B | application/x-mako | MakoHtmlLexer
% for plugin, config in getattr(request.registry, 'rhodecode_plugins', {}).items():
<% tmpl = config['template_hooks'].get('plugin_init_template') %>
% if tmpl:
<%include file="${tmpl}" args="config=config"/>
% endif
% endfor