Clean up functional test base class
Bug #1485022 reported by
Terry Howe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Won't Fix
|
Low
|
Unassigned |
Bug Description
The base class needs to be cleaned up for functional tests. Identity tests do one thing and everyone else does something else. I created a sample for the SDK which I think is a better model to follow:
https:/
* This pattern will allow all the tests to use standard asserts, so we can get rid of the odd ball asserts in the base class.
* It gets rid of setUpClass and tearDownClass calls, so delete at least gets counted as a real test.
* Ideally, we'd be testing everything with --format and value or csv so we can assert on more exact patterns, not just assert in
Changed in python-openstackclient: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
fixed in https:/ /review. openstack. org/#/c/ 190298/