Bug 1150248

Summary: Unit Test Fixes with the new "router" dashboard
Product: Red Hat OpenStack Reporter: Steven Hillman <sthillma>
Component: python-django-horizonAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: ajeain, aortega, jdonohue, jpichon, mrunge, scohen, slong, sthillma, yeylon
Target Milestone: z3Keywords: ZStream
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: n1kv
Fixed In Version: python-django-horizon-2014.1.3-2.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-02 15:13:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1085649, 1127070, 1127072, 1154145, 1190350    

Description Steven Hillman 2014-10-07 18:57:55 UTC
Description of problem:
Currently the new dashboard "router" doesn't have its unit test run by default. This needs to be fixed.
Additionally, many existing unit tests such as the network create tests from the "project" and "admin" dashboards and also the instance create tests have been changed to accommodate the cisco n1k plugin only when the plugin is being used. The existing solution is very cumbersome with a check being done to test the config variable in the local_settings. A better solution needs to be found to ensure these are run in a better manner.

Version-Release number of selected component (if applicable):
N/A

How reproducible:
N/A

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Need to backport these unit test changes so that other n1kv Horizon backports will run proper UT.

Comment 2 Matthias Runge 2014-10-15 08:47:33 UTC
Fix proposed for Icehouse: https://review.openstack.org/127280

Comment 10 errata-xmlrpc 2014-12-02 15:13:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-1929.html