horizon/openstack_dashboard/test/test_plugins
Mike Hagedorn 754585d67b KeyError on getting PanelGroup
When trying to get a PanelGroup at runtime and
you specify a nonregistered panel, a KeyError is
thrown when calling Dashboard.get_panel_group.
Retrieving values from a Dict using the [] formulation
results in a KeyError for non existent keys.  Using
Dict#get returns None for non existent keys which is
what this change does.

This is relevant to the dynamic panel efforts going on.

Closes-Bug: 1396682
Change-Id: I532c3be04fdd229dfd8e01b68320b2eecb6fd866
2014-12-01 09:36:47 -05:00
..
panel_config Revert "Remove the update default quotas feature" 2014-09-30 18:12:02 +09:00
panel_group_config Plugin-based panel group configuration 2014-03-29 01:05:03 +09:00
__init__.py Plugin-based panel configuration 2014-03-03 12:21:42 -08:00
panel_group_tests.py KeyError on getting PanelGroup 2014-12-01 09:36:47 -05:00
panel_tests.py Merge "Remove and deprecate dashboards config from settings file" 2014-10-13 07:16:38 +00:00