Files
python-cinderclient/cinderclient
Gorka Eguileor 83230498eb Fix reset state v3 unit tests failures
Depending on the order of execution our unit tests could fail because we
are caching the reset methods in the RESET_STATE_RESOURCES dictionary in
cinderclient.v3.shell and mocking the methods before importing this file
will leave future tests with the mocked value.

This patch fixes this by mocking find_resource instead of individual
find methods, and in one of the tests with a method that will call
original method whenever it's not the call we actually wanted to mock.

Change-Id: Ic3ab32b95abd29e995bc071adc11b1e481b32516
Closes-Bug: #1705249
2017-07-19 14:25:44 +02:00
..
2017-03-24 13:24:50 +02:00
2017-05-02 14:09:57 +03:00
2017-07-17 02:35:09 +00:00
2017-03-15 13:42:49 +01:00
2017-03-21 13:07:01 +08:00
2017-06-22 19:06:48 +02:00
2017-07-17 02:35:09 +00:00
2017-05-25 10:01:10 +08:00