diff options
author | Emma Foley <emma.l.foley@intel.com> | 2018-03-12 15:07:59 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-06-13 18:37:41 +0000 |
commit | 55d59992c6695e2ba4093b1d76905f3263dfba3e (patch) | |
tree | e9aa2e5f71fb9fe99e02d7c6066997efc044ad0d /ansible | |
parent | a3399d07b83ce0e50d9c0144d00a7ba83a73390f (diff) |
assert[Greater,Equal] -> assert_{,not_}called
assertEqual(mock_xxx.call_count, 1) -> mock_xxx.assert_called_once
assertEqual(mock_xxx.call_count, 0) -> mock_xxx.assert_not_called
assertGreater(mock.call_count, 0) -> mock.assert_called()
assertGreaterEqual(mock.call_count, 1) -> mock.assert_called()
JIRA: YARDSTICK-1069
Change-Id: I890084d120c8e78304e169e2a0e5d30011a41525
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'ansible')
0 files changed, 0 insertions, 0 deletions