summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2019-05-16 16:30:10 +0530
committerAkarsha Rai <akrai@redhat.com>2019-05-23 13:21:55 +0000
commitc53b6bdfea63f06bf6f6ae5e8a9ea24b926acee3 (patch)
treea879eb3b9a3f9180dbb393a92c6d93c52a675021 /tests/functional/glusterd
parente00f2f2a8fc3b1efd6bc5cad7db08719f6d03fe6 (diff)
Adding the assert statement removed during changes.
It seems like an assert statement got missed duing the recent changes. Adding back the assert and submitting a patch Signed-off-by: kshithijiyer <kshithij.ki@gmail.com> Change-Id: Ic8ab0d6e54da510faf479cd09cf122ccf8cedfbb
Diffstat (limited to 'tests/functional/glusterd')
-rw-r--r--tests/functional/glusterd/test_peer_detach.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/glusterd/test_peer_detach.py b/tests/functional/glusterd/test_peer_detach.py
index d52498808..db58607b8 100644
--- a/tests/functional/glusterd/test_peer_detach.py
+++ b/tests/functional/glusterd/test_peer_detach.py
@@ -151,3 +151,5 @@ class PeerDetachVerification(GlusterBaseClass):
'with force to remove ' +
'all bricks from the peer and ' +
'attempt the peer detach again.')
+ self.assertIn(msg, err, "Peer detach not failed with "
+ "proper error message")