Merge "v3 test utils, don't modify input parameter"
This commit is contained in:
@@ -195,7 +195,7 @@ class CrudTests(object):
|
|||||||
# signature for the request when the manager does some
|
# signature for the request when the manager does some
|
||||||
# conversion before doing the request (e.g converting
|
# conversion before doing the request (e.g converting
|
||||||
# from datetime object to timestamp string)
|
# from datetime object to timestamp string)
|
||||||
req_ref = req_ref or ref.copy()
|
req_ref = (req_ref or ref).copy()
|
||||||
req_ref.pop('id')
|
req_ref.pop('id')
|
||||||
|
|
||||||
self.stub_entity(httpretty.POST, entity=req_ref, status=201)
|
self.stub_entity(httpretty.POST, entity=req_ref, status=201)
|
||||||
|
Reference in New Issue
Block a user