summaryrefslogtreecommitdiffstats
path: root/tests/functional/bvt
diff options
context:
space:
mode:
authorShwethaHP <spandura@redhat.com>2018-01-18 10:41:30 +0530
committerShwethaHP <spandura@redhat.com>2018-01-18 10:45:27 +0530
commitde5a300cb17c2ab646ff0e6bca7ef791f4637798 (patch)
treee8a93d8a57b934a37cbb514da34e10bbe614b2ea /tests/functional/bvt
parent389862e34225430b06a1d494c1c1e3037f4b6d5d (diff)
Fixing the typo error of not enclosing the message inside "()"
This should fix the test_cvt_test_self_heal_when_io_is_in_progress: self.assertTrue(ret, "Not all the bricks in list:%s are offline", > bricks_to_bring_offline) E TypeError: assertTrue() takes at most 3 arguments (4 given) Change-Id: Ibfee5253020c2f8927c4fd22a992f7cff7509a5d Signed-off-by: ShwethaHP <spandura@redhat.com>
Diffstat (limited to 'tests/functional/bvt')
-rw-r--r--tests/functional/bvt/test_cvt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/bvt/test_cvt.py b/tests/functional/bvt/test_cvt.py
index e408ce5..b4c9800 100644
--- a/tests/functional/bvt/test_cvt.py
+++ b/tests/functional/bvt/test_cvt.py
@@ -716,8 +716,8 @@ class TestGlusterHealSanity(GlusterBasicFeaturesSanityBaseClass):
bricks_to_bring_offline)
ret = are_bricks_offline(self.mnode, self.volname,
bricks_to_bring_offline)
- self.assertTrue(ret, "Not all the bricks in list:%s are offline",
- bricks_to_bring_offline)
+ self.assertTrue(ret, ("Not all the bricks in list: %s are offline",
+ bricks_to_bring_offline))
g.log.info("Successfully validated that bricks: %s are all offline",
bricks_to_bring_offline)