Test take_action() in unit tests
Bug #1553468 reported by
Tang Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
Tang Chen |
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.
Changed in python-openstackclient: | |
assignee: | nobody → Tang Chen (tangchen) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/288861
Review: https:/