[openstack-dev] [qa] Lack of consistency in returning response from tempest clients

David Kranz dkranz at redhat.com
Fri Aug 29 14:19:58 UTC 2014


While reviewing patches for moving response checking to the clients, I 
noticed that there are places where client methods do not return any value.
This is usually, but not always, a delete method. IMO, every rest client 
method should return at least the response. Some services return just 
the response for delete methods and others return (resp, body). Does any 
one object to cleaning this up by just making all client methods return 
resp, body? This is mostly a change to the clients. There were only a 
few places where a non-delete  method was returning just a body that was 
used in test code.

  -David



More information about the OpenStack-dev mailing list