diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2018-10-29 16:05:45 +0530 |
---|---|---|
committer | Valerii Ponomarov <vponomar@redhat.com> | 2018-10-29 16:05:45 +0530 |
commit | 6e08754408525dfcaeafbd487b5f3954d005414d (patch) | |
tree | 418f2e6101cf0ef2e2caaa39b5734477fa089674 | |
parent | 0acce60125038b350deac4c640399bee482b0292 (diff) |
[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
-rw-r--r-- | tests/functional/common/provisioning/test_storage_class_cases.py | 3 |
1 files changed, 2 insertions, 1 deletions
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( |