Clean up functional test base class

Bug #1485022 reported by Terry Howe
12
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://review.openstack.org/#/c/204716/

* 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

Tags: test
Revision history for this message
Steve Martinelli (stevemar) wrote :
tags: added: test
Changed in python-openstackclient:
importance: Undecided → Low
status: New → Fix Committed
assignee: nobody → Terry Howe (thowe-g)
Revision history for this message
Steve Martinelli (stevemar) wrote :

oops, marked the wrong one as done. this is not done.

Changed in python-openstackclient:
status: Fix Committed → Triaged
assignee: Terry Howe (thowe-g) → nobody
Artem Goncharov (gtema)
Changed in python-openstackclient:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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