Reviewed: https://review.openstack.org/229713 Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=42ecc84a2ce8d72608ba519624661d37c02b554e Submitter: Jenkins Branch: master
commit 42ecc84a2ce8d72608ba519624661d37c02b554e Author: Yusuke Hayashi <email address hidden> Date: Tue Sep 29 19:56:49 2015 +0900
Fix order of arguments in assertEqual
Fix incorrect order assertEqual(observed, expected) as below. assertEqual(observed, expected) => assertEqual(expected, observed)
Target of this patch: manila/tests/api/*
Note: I also fix following asserts aruond above fixed parts. assertEqual(xx, True), assertEqual(True, xx) => assertTrue(xx)
As for assertFalse, I do not convert assertEqual(xx, False) to assertFalse(xx) because assertFalse(None) does not raise exception.
Change-Id: I8131946efef654235b5e32344b3f5e42ab3d3ced Partial-Bug: #1259292
Reviewed: https:/ /review. openstack. org/229713 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=42ecc84a2ce 8d72608ba519624 661d37c02b554e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 42ecc84a2ce8d72 608ba519624661d 37c02b554e
Author: Yusuke Hayashi <email address hidden>
Date: Tue Sep 29 19:56:49 2015 +0900
Fix order of arguments in assertEqual
Fix incorrect order assertEqual( observed, expected) as below. al(observed, expected) => assertEqual( expected, observed)
assertEqu
Target of this patch: tests/api/ *
manila/
Note: al(xx, True), assertEqual(True, xx) => assertTrue(xx)
I also fix following asserts aruond above fixed parts.
assertEqu
As for assertFalse,
I do not convert assertEqual(xx, False) to assertFalse(xx)
because assertFalse(None) does not raise exception.
Change-Id: I8131946efef654 235b5e32344b3f5 e42ab3d3ced
Partial-Bug: #1259292