create the accelerator request with special characters
create the accelerator request with special characters Change-Id: I04df834d56fc29a9cc1c15e292fbfbbe858368e5
This commit is contained in:
parent
d011e419ab
commit
d602ec90be
@ -62,3 +62,12 @@ class AcceleratorRequestNegativeTest(base.BaseAPITest):
|
|||||||
lib_exc.NotFound,
|
lib_exc.NotFound,
|
||||||
self.os_admin.cyborg_client.create_accelerator_request,
|
self.os_admin.cyborg_client.create_accelerator_request,
|
||||||
dp_mame)
|
dp_mame)
|
||||||
|
|
||||||
|
@test.attr(type=['negative', 'gate'])
|
||||||
|
def test_create_accelerator_request_with_special_characters(self):
|
||||||
|
# create the accelerator request with special characters
|
||||||
|
dp_mame = {"device_profile_name": "!@#$%^&*()=-[]"}
|
||||||
|
self.assertRaises(
|
||||||
|
lib_exc.NotFound,
|
||||||
|
self.os_admin.cyborg_client.create_accelerator_request,
|
||||||
|
dp_mame)
|
||||||
|
Loading…
Reference in New Issue
Block a user