Tweak some view config logic to avoid test failure.

This commit is contained in:
Lance Edgar 2015-08-11 15:18:39 -05:00
parent 9605d44b05
commit 412ac6e12f

View file

@ -167,7 +167,7 @@ def includeme(config):
# TODO: This can finally be removed once all CRUD/index views have been # TODO: This can finally be removed once all CRUD/index views have been
# converted to use the new master view etc. # converted to use the new master view etc.
settings = config.get_settings() settings = config.get_settings()
RolesView.old_permissions = settings['edbob.permissions'] RolesView.old_permissions = settings.get('edbob.permissions')
RolesView.defaults(config) RolesView.defaults(config)
version_defaults(config, RoleVersionView, 'role') version_defaults(config, RoleVersionView, 'role')