commit | b4e0096310cdf6c4140fb7dd9c0c6a42241894df | [log] [tgz] |
---|---|---|
author | ChangBo Guo(gcb) <eric.guo@easystack.cn> | Wed May 14 13:52:08 2014 +0800 |
committer | ChangBo Guo(gcb) <eric.guo@easystack.cn> | Wed Jun 18 12:09:58 2014 +0800 |
tree | cf5ef2fde93a79f2224c5ebb0740aee24666c37f | |
parent | 8446493234a985f725d77869989c89838c94335f [diff] |
Fix calls to mock.assert_not_called() There is no assert_not_called() method in mock, as described here: https://code.google.com/p/mock/issues/detail?id=159 Fix these calls to use the assertEqual(0, mock.call_count) instead. This patch also fixes a typo. Change-Id: I7cfb968f6d4b775ceb901411ee8f24057d97cf91