summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2018-05-08 16:33:43 +0530
committerNigel Babu <nigelb@redhat.com>2018-05-08 16:33:43 +0530
commiteee761bf6970eb6ee67ff33609319eb12fb95ea0 (patch)
treebf8463d3da4abad6bc6f8ecfe036bfe8acc8a199
parent626079a3e3227a0b00934ce5c30d8110751dca16 (diff)
Fix assertIsNotNone call in glusterd tests
Change-Id: I774f64e2f355e2ca2f41c7a5c472aeae5adcd3dc
-rw-r--r--tests/functional/glusterd/test_glusterd_replace_brick.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/glusterd/test_glusterd_replace_brick.py b/tests/functional/glusterd/test_glusterd_replace_brick.py
index efcb6a9ed..afcb8a85c 100644
--- a/tests/functional/glusterd/test_glusterd_replace_brick.py
+++ b/tests/functional/glusterd/test_glusterd_replace_brick.py
@@ -59,8 +59,7 @@ class TestReplaceBrick(GlusterBaseClass):
# pylint: disable=too-many-function-args
# Getting all the bricks which are online
bricks_online = get_online_bricks_list(self.mnode, self.volname)
- self.assertIsNotNone(bricks_online, None, (
- "Unable to get the online bricks"))
+ self.assertIsNotNone(bricks_online, "Unable to get the online bricks")
g.log.info("got the brick list from the volume")
# Getting one random brick from the online bricks to be replaced