)]}'
{"neutron_tempest_plugin/api/test_qos.py":[{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"ca444fb1db18e6cd1e7b9a6111e247209c54f64e","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        self.create_qos_policy(name\u003dpolicyA, description\u003d\u0027test policy\u0027,"},{"line_number":94,"context_line":"                               shared\u003dFalse)"},{"line_number":95,"context_line":"        self.create_qos_policy(name\u003dpolicyB, description\u003d\u0027test policy\u0027,"},{"line_number":96,"context_line":"                               shared\u003dFalse)"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"        param \u003d {"},{"line_number":99,"context_line":"            \u0027sort_key\u0027: \u0027name\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_5562623f","line":96,"updated":"2020-06-02 09:23:55.000000000","message":"Another solution could be to avoid storing the old policies at the beginning of the test:\n* create the 2 policies\n* list all the policies\n* create a list of names:\npolicy_names \u003d [p[\u0027name\u0027] for p in policies]\n* Check if index of policyA is smaller than policyB\u0027s index:\nself.assertLess(policy_names.index(policyA[\u0027name\u0027], policy_names.index(policyB[\u0027name])\n\nBut this solution is good as well","commit_id":"67a33e276aece283ee1425ebd11a3ccba2fe7a58"}]}
