From eee761bf6970eb6ee67ff33609319eb12fb95ea0 Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Tue, 8 May 2018 16:33:43 +0530 Subject: Fix assertIsNotNone call in glusterd tests Change-Id: I774f64e2f355e2ca2f41c7a5c472aeae5adcd3dc --- tests/functional/glusterd/test_glusterd_replace_brick.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/functional/glusterd') 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 -- cgit