python-magnumclient/magnumclient
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
..
common Merge "Implement Parameter Deprecation" 2016-11-15 19:28:23 +00:00
osc Base OSC plugin support 2016-07-27 09:22:51 +09:00
tests Use assert_called_*/assert_not_called to verify mock calls 2016-11-16 09:23:20 +05:30
v1 Merge "Renames *-id parameters" 2016-11-15 19:35:18 +00:00
__init__.py Added project required files. 2014-11-21 08:33:53 +09:00
client.py Add unversioned client constructor 2015-11-10 08:32:06 +00:00
exceptions.py Sync with oslo-incubator 2016-02-18 13:06:00 +08:00
i18n.py Setup for translation 2015-05-14 20:26:10 -04:00
shell.py Implement Parameter Deprecation 2016-11-15 09:58:03 -07:00
version.py Skeleton for the cli client 2014-11-21 15:22:41 -08:00