diff options
| author | confi-surya <singh.surya64mnnit@gmail.com> | 2018-11-29 16:15:03 +0530 |
|---|---|---|
| committer | confi-surya <singh.surya64mnnit@gmail.com> | 2018-11-29 16:20:25 +0530 |
| commit | 24c993a059af06dafc0e26a851a8b56d2516bd31 (patch) | |
| tree | 7459db867f1024dba0ef51e7b3d717021d54910d | |
| parent | 63fd805c22289ce83686b6599df3702a270445fa (diff) | |
| download | kolla-24c993a059af06dafc0e26a851a8b56d2516bd31.tar.gz kolla-24c993a059af06dafc0e26a851a8b56d2516bd31.zip | |
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
| -rw-r--r-- | tests/test_build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index 7c4c7dea2..bf8cc4c87 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): |
