diff options
author | Nigel Babu <nigelb@redhat.com> | 2018-02-13 15:46:50 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-02-13 11:55:57 +0000 |
commit | a299fb518340bbb625792906ecae67b814e93eb6 (patch) | |
tree | 65b959dc0ce7b87179015250bf8ba52abdf309d5 /glustolibs-gluster/glustolibs | |
parent | 63c30b00906d273be3f1cc8f1d45781d39a02877 (diff) |
This makes sure BVT passes when runs_on is empty
Needs to be done for cases where we don't use runs_on
Change-Id: I0d5b424621706842fb1a8cccb17c653c6dcff72d
Diffstat (limited to 'glustolibs-gluster/glustolibs')
-rw-r--r-- | glustolibs-gluster/glustolibs/gluster/gluster_base_class.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py index 14cbc5a38..8f9d0b9b0 100644 --- a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py +++ b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py @@ -104,7 +104,7 @@ class GlusterBaseClass(unittest.TestCase): if not ret: _rc = False - if "glusterfs" in cls.mount_type: + if cls.mount_type is not None and "glusterfs" in cls.mount_type: ret = inject_msg_in_logs( cls.clients, log_msg=msg, list_of_dirs=cls.client_gluster_logs_dirs, |