modify testcase description
test_create_device_profile_server_fault testcase description error , modify description for using an existing dp uuid Change-Id: I2234f306a2971adc2d6955ef4aac78997633e6e6
This commit is contained in:
@@ -47,7 +47,7 @@ class DeviceProfileNegativeTest(base.BaseAPITest):
|
||||
|
||||
@test.attr(type=['negative', 'gate'])
|
||||
def test_create_device_profile_server_fault(self):
|
||||
# create device profile with the same uuid
|
||||
# create device profile using an existing dp uuid
|
||||
dp = [{
|
||||
"name": "fpga_uuid_test",
|
||||
"groups": [
|
||||
@@ -64,7 +64,7 @@ class DeviceProfileNegativeTest(base.BaseAPITest):
|
||||
dp[0]['name'] = 'new-fpga'
|
||||
dp[0]['uuid'] = response['uuid']
|
||||
|
||||
# create a same device profile with the same uuid
|
||||
# create a same device profile with an existing dp uuid
|
||||
self.assertRaises(lib_exc.ServerFault,
|
||||
self.os_admin.cyborg_client.create_device_profile,
|
||||
dp)
|
||||
|
||||
Reference in New Issue
Block a user