introduce context for test methods

Bug #1614950 reported by Martin Pavlásek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Wishlist
Unassigned

Bug Description

Constructor of each page contains two params - driver and conf. If we'd like to pass some additional data (or metadata), it will cause change in plenty of files every time.

This can be done by passing just 'context' object/dict that can contain multiple keys and ca be extended much more easily.

Tags: unittest
tags: added: unittest
Changed in horizon:
importance: Undecided → Wishlist
Revision history for this message
Akihiro Motoki (amotoki) wrote :

I am not sure what we actually need to do. I would like to see more concrete description or example so that someone who is interested in this bug can move it forward.

Gary, do you have something in your mind? you marked it as Wishlist, so you might have any idea.

IMHO this also needs to be marked as Incomplete, but there might be some important context we should be aware of.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.