From f6934b13b3706c810bdff311b15a2d33ad22a29a Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Fri, 8 Aug 2014 18:34:50 +0530 Subject: nagios-commons: Added a new exception class Added different exception in case of transaction lock errors, so that the plugins can return correct state based on the exception messages Change-Id: Ibbe5dd17b4829765505451f5a6554d2ade4b2980 Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1109752 Signed-off-by: Sahina Bose Reviewed-on: http://review.gluster.org/8442 Reviewed-by: Bala FA --- tests/test_glustercli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_glustercli.py') diff --git a/tests/test_glustercli.py b/tests/test_glustercli.py index 5c71f34..67260a8 100644 --- a/tests/test_glustercli.py +++ b/tests/test_glustercli.py @@ -1097,7 +1097,7 @@ class GlusterCliTests(TestCaseBase): mock_glusterVolCmd, mock_execCmd,): mock_glusterVolCmd.return_value = ["gluster", "volume"] - mock_execCmd.return_value = -1, None, "err" + mock_execCmd.return_value = -1, None, ["err"] try: gcli.volumeQuotaStatus("test-vol") assert False -- cgit