summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_heketi_device_operations.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-03-12 10:08:03 +0530
committervamahaja <vamahaja@redhat.com>2020-03-13 13:26:06 +0530
commit2535cae8fbfdfa3eeb9b1c4462f01b8802be96f2 (patch)
tree14fdd5e0b2b5a1cf1382cedc16618989d2721900 /tests/functional/heketi/test_heketi_device_operations.py
parentb9db2f4be8f1dcabb31f3ea93f9b3b12bff66603 (diff)
[TestFix] Add pytest marker for tier0 test cases
Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi/test_heketi_device_operations.py')
-rw-r--r--tests/functional/heketi/test_heketi_device_operations.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_heketi_device_operations.py b/tests/functional/heketi/test_heketi_device_operations.py
index b4987ba..aaa7e2c 100644
--- a/tests/functional/heketi/test_heketi_device_operations.py
+++ b/tests/functional/heketi/test_heketi_device_operations.py
@@ -1,5 +1,6 @@
import ddt
from glusto.core import Glusto as g
+import pytest
from openshiftstoragelibs.baseclass import BaseClass
from openshiftstoragelibs.heketi_ops import (
@@ -95,6 +96,7 @@ class TestHeketiDeviceOperations(BaseClass):
return online_hosts
+ @pytest.mark.tier0
def test_heketi_device_enable_disable(self):
"""Validate device enable and disable functionality"""
@@ -174,6 +176,7 @@ class TestHeketiDeviceOperations(BaseClass):
"None of '%s' volume bricks is present on the '%s' device." % (
vol_info['id'], online_device_id))
+ @pytest.mark.tier0
@ddt.data(True, False)
def test_heketi_device_remove(self, delete_device):
"""Validate remove/delete device using heketi-cli"""