summaryrefslogtreecommitdiffstats
path: root/tests/functional/bvt/test_bvt_lite_and_plus.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/bvt/test_bvt_lite_and_plus.py')
-rw-r--r--tests/functional/bvt/test_bvt_lite_and_plus.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/bvt/test_bvt_lite_and_plus.py b/tests/functional/bvt/test_bvt_lite_and_plus.py
index 55db725b9..074d57910 100644
--- a/tests/functional/bvt/test_bvt_lite_and_plus.py
+++ b/tests/functional/bvt/test_bvt_lite_and_plus.py
@@ -45,7 +45,8 @@ class BvtTestsClass(GlusterVolumeBaseClass):
"scripts/file_dir_ops.py")
cls.script_upload_path = "/tmp/file_dir_ops.py"
ret = os.path.exists(cls.script_local_path)
- assert (ret is True), ("Unable to find the io scripts")
+ if not ret:
+ raise Exception("Unable to find the io scripts")
for client in cls.clients:
g.upload(client, cls.script_local_path, cls.script_upload_path)