2971d8a345
This patch is a prerequiste for moving away from TaskRunner instances. Currently our mocking in tests relies heavily on our code using the rich cinder objects returned by cinderclient. The purpose of this patch then is to first move away from using those and modify mocking in tests accordingly, so that subsequent patch that removes TaskRunner instances from volume resources will modify as few tests as possible, which will better prove its correctness. Also, modified all deprecated rsrc.cinder() calls to rsrc.client() calls (using default_client_name) and optimized reuse of clients inside single methods. Change-Id: I10c991f9949149c2f4d4b7de00f17ddc4980ae96 Related-Bug: #1393268 |
||
---|---|---|
.. | ||
__init__.py | ||
test_volume.py | ||
test_waitcondition.py |