← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1468547] [NEW] Plugin test should check js injections

 

Public bug reported:

Currently, we have tests for plugin but they are not comprehensive
enough. Considering that we are adding more logic to javascript, we need
to ensure that they are properly injected in these plugin.

https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/test_plugins/panel_tests.py#L44
https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/test_plugins/panel_config/_10_admin_add_panel.py#L16

** Affects: horizon
     Importance: High
     Assignee: Richard Jones (r1chardj0n3s)
         Status: New


** Tags: unittest

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1468547

Title:
  Plugin test should check js injections

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Currently, we have tests for plugin but they are not comprehensive
  enough. Considering that we are adding more logic to javascript, we
  need to ensure that they are properly injected in these plugin.

  https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/test_plugins/panel_tests.py#L44
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/test_plugins/panel_config/_10_admin_add_panel.py#L16

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1468547/+subscriptions


Follow ups

References