Test take_action() in unit tests
Bug #1553467 reported by
Tang Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
New
|
Undecided
|
Unassigned |
Bug Description
Some of the unit tests test run(), but not take_action().
For example, in openstackclient
def test_volume_
......
result = self.cmd.
......
run() is defined in class Command in cliff. We don't need to test it in OSC unit tests. On the contrary, we should test take_action(), which is overwritten in each command classes in OSC.
To post a comment you must log in.