From 24c993a059af06dafc0e26a851a8b56d2516bd31 Mon Sep 17 00:00:00 2001 From: confi-surya Date: Thu, 29 Nov 2018 16:15:03 +0530 Subject: [PATCH] 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 --- tests/test_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_build.py b/tests/test_build.py index 7c4c7dea2a..bf8cc4c874 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -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):