Fix the parameter order of assertEqual
On assertEqual, the order of parameters should be (expected, observed). But, some part of kolla tests was written with invalid order. This patch fix the problem. Change-Id: I9fcfb3923716243ddb1886223e932ec12829fb2e Related-Bug: #1277104
This commit is contained in:
parent
63fd805c22
commit
24c993a059
@ -59,7 +59,7 @@ class BuildTest(object):
|
||||
for image in unmatched_results.keys():
|
||||
LOG.warning(">>> Image '%s' was not matched", image)
|
||||
|
||||
self.assertEqual(failures, 0, "%d failure(s) occurred" % failures)
|
||||
self.assertEqual(0, failures, "%d failure(s) occurred" % failures)
|
||||
|
||||
|
||||
class BuildTestCentosBinary(BuildTest, base.BaseTestCase):
|
||||
|
Loading…
Reference in New Issue
Block a user