)]}'
{"cyborg_tempest_plugin/tests/api/test_device_profile.py":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"8be3cc04cb08e52da6fa9f7bec9789fe448e0b1e","unresolved":true,"context_lines":[{"line_number":33,"context_line":"        dp_two \u003d cyborg_data.BATCH_DELETE_DEVICE_PROFILE_DATA2"},{"line_number":34,"context_line":"        self.os_admin.cyborg_client.create_device_profile(dp_one)"},{"line_number":35,"context_line":"        self.os_admin.cyborg_client.create_device_profile(dp_two)"},{"line_number":36,"context_line":"        self.os_admin.cyborg_client.delete_multiple_device_profile_by_names("},{"line_number":37,"context_line":"            dp_one[0][\u0027name\u0027], dp_two[0][\u0027name\u0027])"},{"line_number":38,"context_line":"        list_resp \u003d self.os_admin.cyborg_client.list_device_profile()"},{"line_number":39,"context_line":"        device_profile_list \u003d list_resp[\u0027device_profiles\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"a44b4e94_4a7f677e","line":36,"updated":"2021-08-20 08:17:53.000000000","message":"Before deleting the device profiles, we should assert they are all created and exist in the db firstly, thaen to assert their delete successfully.\nsuch as:\ncreate_dp_one_resp \u003d self.os_admin.cyborg_client.create_device_profile(dp_one)\ncreate_dp_two_resp \u003d self.os_admin.cyborg_client.create_device_profile(dp_two)\nself.assertEqual(dp_one[0][\u0027name\u0027], create_dp_one_resp[\u0027name\u0027])\nself.assertEqual(dp_two[0][\u0027name\u0027], create_dp_two_resp [\u0027name\u0027])","commit_id":"e111d4b2a62849b3756b60619d839f2f91b4521d"},{"author":{"_account_id":30409,"name":"wangzhiguang","email":"wangzhiguang@inspur.com","username":"wangzhiguang"},"change_message_id":"35ef431d031f03afdc5e417be1b8bb6e9c1551bd","unresolved":true,"context_lines":[{"line_number":33,"context_line":"        dp_two \u003d cyborg_data.BATCH_DELETE_DEVICE_PROFILE_DATA2"},{"line_number":34,"context_line":"        self.os_admin.cyborg_client.create_device_profile(dp_one)"},{"line_number":35,"context_line":"        self.os_admin.cyborg_client.create_device_profile(dp_two)"},{"line_number":36,"context_line":"        self.os_admin.cyborg_client.delete_multiple_device_profile_by_names("},{"line_number":37,"context_line":"            dp_one[0][\u0027name\u0027], dp_two[0][\u0027name\u0027])"},{"line_number":38,"context_line":"        list_resp \u003d self.os_admin.cyborg_client.list_device_profile()"},{"line_number":39,"context_line":"        device_profile_list \u003d list_resp[\u0027device_profiles\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"4002927c_7af01702","line":36,"in_reply_to":"a44b4e94_4a7f677e","updated":"2021-08-20 08:30:09.000000000","message":"Brin Zhang\nIt has been repaired according to your suggestion","commit_id":"e111d4b2a62849b3756b60619d839f2f91b4521d"}]}
