From 6e08754408525dfcaeafbd487b5f3954d005414d Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Mon, 29 Oct 2018 16:05:45 +0530 Subject: [CNS-921] Try to create PVC with underscore in the vol name prefix Add test case which checks that we are not able to create PVC which has underscore symbol ("_") in the custom volume name prefix. Change-Id: I24aa3918371627df890c3996da36d8931d01dd3c --- tests/functional/common/provisioning/test_storage_class_cases.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/functional') diff --git a/tests/functional/common/provisioning/test_storage_class_cases.py b/tests/functional/common/provisioning/test_storage_class_cases.py index 47d6dd06..8852677c 100644 --- a/tests/functional/common/provisioning/test_storage_class_cases.py +++ b/tests/functional/common/provisioning/test_storage_class_cases.py @@ -78,9 +78,10 @@ class TestStorageClassCases(cns_baseclass.CnsBaseClass): {"secretname": "fakesecretname"}, {"secretnamespace": "fakenamespace"}, {"restuser": "fakeuser"}, + {"volumenameprefix": "dept_qe"}, ) def test_sc_glusterfile_incorrect_parameter(self, parameter={}): - """ Polarion testcase id- CNS-708,709,713,714,715 """ + """Polarion testcase id- CNS-708,709,713,714,715,921""" self.sc_incorrect_parameter("glusterfile", parameter) @ddt.data( -- cgit