horizon/openstack_dashboard/test
Mike Hagedorn 5ba219acbf Neutron Quota Settings Flag Disables Neutron GUI
if OPENSTACK_NEUTRON_NETWORK["enable_quotas"] = False buttons will not appear
and exceptions are thrown.   This is because a dict is searched for a key
("available") which wont be there if its disabled.  This generates a
KeyError at runtime.

As currently written enable_quatas -> False essentially disables Neutron usage.
This is not a desirable outcome.

This patch shows Neutron related buttons and ignores the quota settings,
which seems more in line with the notion of disabling quotas.

Closes-Bug:#1482354
Change-Id: I9485ddeece74d87317c2587498f5f79d4ffdb66e
2015-09-24 20:50:50 +00:00
..
api_tests Enable Launch Instance NG for the case when Nova quotas are disabled 2015-09-18 17:55:59 +03:00
integration_tests Minor refactoring of integration tests 2015-08-28 15:28:21 +03:00
jasmine Remove unused jasmine_tests.py 2015-05-13 12:39:00 -06:00
templates Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
test_data Neutron Quota Settings Flag Disables Neutron GUI 2015-09-24 20:50:50 +00:00
test_panels Move Horizon to pure plugin loading only 2015-08-03 14:49:31 -06:00
test_plugins Move Horizon to pure plugin loading only 2015-08-03 14:49:31 -06:00
tests Port error_pages tests to Python 3 2015-09-01 18:38:55 +02:00
__init__.py Revamp of testing machinery. 2012-04-23 22:24:21 -07:00
error_pages_urls.py Fix E128 errors in remaining openstack_dashboard/ 2014-10-16 16:53:52 +09:00
helpers.py Port password tests to Python 3 2015-09-04 12:27:04 +02:00
settings.py Improving find static robustness 2015-09-16 17:16:17 -06:00
urls.py Base dashboard Jasmine framework 2015-03-05 16:02:35 -07:00