yatin cb12dc0232 Use assert_called_*/assert_not_called to verify mock calls
Currently assertTrue and assertFalse are used to check
wheter a mock method is called. It is not checked whether
mock method is called with correct set of arguments.
With this patch following modules uses assert_called_* and
assert_not_called instead of assertTrue and assertFalse.

- magnumclient/tests/v1/test_bays_shell.py
- magnumclient/tests/v1/test_clusters_shell.py

Change-Id: I8b848d068bd08512d8c1fc716bb1b6e6d892137c
Partially-Implements: blueprint magnumclient-ut-coverage
2016-11-16 09:23:20 +05:30
..
2016-07-27 09:22:51 +09:00
2014-11-21 08:33:53 +09:00
2016-07-25 13:44:34 +09:00
2016-02-18 13:06:00 +08:00
2015-05-13 20:16:22 -04:00
2016-06-15 10:27:16 +09:00