Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I130c03e12ddc53ce7ced728a43b10b142f7b066f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Co-Authored-By: Hiroo Kitamura <hiroo.kitamura@ntt-at.co.jp>
This patch is to replace assertEqual(False, A) with assertFalse(A), which
the latter is more straightforward and easier to understand.
Similar to a merged patch https://review.openstack.org/#/c/473749/
Change-Id: I056c2840ed431e3c792f5f1f70f9e7d9e4e22d0b
AssertEqual always takes the reference object first param
then actual object as second param, so it corrects
some unit test cases, where postion is not take care properly.
Co-Authored-By: qin.chunhua@zte.com.cn
Co-Authored-By: weng.jiangang@zte.com.cn
Change-Id: I0d98d28891b19520bd16070e10baa9f6cd07aee0
Partial-Bug: #1259292