horizon/openstack_dashboard
Akihiro Motoki b0a5f30248 Testing: mock add_panel_mocks() more flexible
Tis commit enhances openstack_dashboard.test.helpers.TestCase
.add_panel_mocks() method to more flexible way.
Now the mock definitions are defined in the test settings and
setUp() in unit tests and selenium tests sets up mocks defined in
the test settings TEST_GLOBAL_MOCKS_ON_PANELS.

This is a preparation for drop of deprecated options (enable_firewall
and enable_vpn). They were marked as deprecated long ago, but they are
still kept just because we need a lot of changes in unit tests if dropped.
By this change, we no longer need to use settings just for testing.

enable_firewall/enable_vpn=False are dropped (default is True)
to confirm this change works well.

Related-Bug: #1687185
Change-Id: I0a5ebcf8d75e704420d3a5af46fde268a59aa9ec
2017-04-29 11:50:43 +00:00
..
api Merge "Ensure log messages are not translated" 2017-04-27 22:39:12 +00:00
conf Update Horizon to use latest nova policy rules for validation 2017-03-13 13:43:02 +00:00
contrib hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
dashboards Merge "usage: Ensure to count resources of a given project" 2017-04-27 22:43:05 +00:00
django_pyscss_fix Handle log message interpolation by the logger 2017-03-31 20:59:16 +09:00
enabled Reorganize Admin dashboard menus 2017-03-13 04:53:20 +00:00
local Update Network Port VNIC Types 2017-04-11 12:50:58 -07:00
locale Imported Translations from Zanata 2017-04-26 09:02:54 +00:00
management hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
static Merge "Pre-populate image size on create volume from image modal" 2017-04-26 15:38:40 +00:00
templates Horizon Spinner/Loader should inherit from theme 2017-04-21 11:15:52 -07:00
templatetags Fix docstring warnings 2016-09-24 20:44:48 +09:00
test Testing: mock add_panel_mocks() more flexible 2017-04-29 11:50:43 +00:00
themes Horizon Spinner/Loader should inherit from theme 2017-04-21 11:15:52 -07:00
usage usage: Ensure to count resources of a given project 2017-04-13 09:40:15 +00:00
utils Horizon Spinner/Loader should inherit from theme 2017-04-21 11:15:52 -07:00
wsgi Normalise the path to resolve ../.. 2016-11-14 16:29:28 +11:00
.eslintrc Add selective ESLint rule activation for Horizon Legacy JS 2015-07-08 17:06:15 -07:00
__init__.py
context_processors.py Merge "Keystone to Keystone Federation Drop Down" 2017-01-25 23:10:07 +00:00
exceptions.py Excise Trove from Horizon 2015-12-22 02:01:07 -07:00
hooks.py
karma.conf.js Horizon Spinner/Loader should inherit from theme 2017-04-21 11:15:52 -07:00
policy.py Specify POLICY_CHECK_FUNCTION as a string 2016-11-25 13:06:14 +01:00
settings.py Add support for downloading clouds.yaml files 2017-04-06 17:16:55 +00:00
theme_settings.py Handle log message interpolation by the logger 2017-03-31 20:59:16 +09:00
urls.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
views.py Fix regression when identity panel is not registered. 2017-04-07 12:17:19 +01:00