Tests fail if a panel is disabled
Bug #1541489 reported by
Itxaka Serrano
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
New
|
Medium
|
Unassigned |
Bug Description
If you disable any panel, all the tests inside that panel will
- Be run
- Fail to resolve the reverse url if any
Tests inside Panels should only run if that panel is enabled.
How to test:
- Create a file _9999_disable_
PANEL = 'images'
PANEL_DASHBOARD = 'admin'
PANEL_GROUP = 'admin'
REMOVE_PANEL = True
- Run openstack_dashboard and confirm that the images panel under admin is gone
- Run the tests and observe the images tests failing with NoReverseMatch
Changed in horizon: | |
assignee: | nobody → Itxaka Serrano (itxakaserrano) |
summary: |
- disable tests if panel are disabled + Tests fail if a panel is disabled |
Changed in horizon: | |
importance: | Undecided → Medium |
milestone: | none → ongoing |
Changed in horizon: | |
milestone: | ongoing → next |
Changed in horizon: | |
assignee: | Itxaka Serrano (itxaka) → nobody |
status: | In Progress → New |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/275817
Review: https:/