Tweak some view config logic to avoid test failure.
This commit is contained in:
parent
9605d44b05
commit
412ac6e12f
|
@ -167,7 +167,7 @@ def includeme(config):
|
|||
# TODO: This can finally be removed once all CRUD/index views have been
|
||||
# converted to use the new master view etc.
|
||||
settings = config.get_settings()
|
||||
RolesView.old_permissions = settings['edbob.permissions']
|
||||
RolesView.old_permissions = settings.get('edbob.permissions')
|
||||
|
||||
RolesView.defaults(config)
|
||||
version_defaults(config, RoleVersionView, 'role')
|
||||
|
|
Loading…
Reference in a new issue