)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"1bf171165e7d5b2426b6d3fca7c7f5e359899b74","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2016-02-27 11:56:23 +0530"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Uses JSON schema to verify clean steps"},{"line_number":8,"context_line":"Closes-Bug: #1543618"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Change-Id: I1c915c35ef4d4861b14edb49187b780f1895b1cb"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"9aed3d3a_0bdfdc69","line":8,"range":{"start_line":8,"start_character":0,"end_line":8,"end_character":20},"updated":"2016-02-27 14:47:11.000000000","message":"Nit: should add a blank line before this.","commit_id":"2f837410ee47f6dc4e7a47a91308f8a0a7630109"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"00eff697322d7bcdc6378f6f3f06732e9a468814","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Sana Khan \u003csanakhan2011@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-03-02 09:15:55 +0530"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Uses JSON schema to verify clean steps"},{"line_number":8,"context_line":"Closes-Bug: #1543618"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Change-Id: I1c915c35ef4d4861b14edb49187b780f1895b1cb"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"7af24918_7cc5b98c","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":38},"updated":"2016-03-02 06:20:05.000000000","message":"Insert a blank line after this to make pep8 gate happy, please reference https://wiki.openstack.org/wiki/GitCommitMessages","commit_id":"141318db42a9c10d8e27430d272079c225daa29d"},{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"072b501f61df24cfe1b411f526803603bec96aa0","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Sana Khan \u003csanakhan2011@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-03-11 16:10:31 +0530"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Uses JSON schema to verify clean steps"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Closes-Bug: #1543618"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"3afc51ec_d203490c","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":38},"updated":"2016-03-11 14:44:28.000000000","message":"Please describe the problem you are facing and how this patch resolves this problem.","commit_id":"6c59c7ed7f7f6dbada0968076894a36ee079298d"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"4b589b01ff5ad40db124aa10584faaf7f8d8ba86","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Sana Khan \u003csanakhan2011@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-03-12 10:06:39 +0530"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Uses JSON schema to verify clean steps"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When a user does a manual clean, they specify the clean steps to be performed."},{"line_number":10,"context_line":"The inputted clean steps are verified in _check_clean_steps()."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"3afc51ec_3d63441c","line":7,"updated":"2016-03-12 05:07:59.000000000","message":"Use jsonschema library to verify clean steps","commit_id":"6f860637f3d92dc4f90fe620bcf3bd2c2337772a"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"4b589b01ff5ad40db124aa10584faaf7f8d8ba86","unresolved":false,"context_lines":[{"line_number":11,"context_line":"This patch validates the structure of clean_steps using JSON Schema."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug: #1543618"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I1c915c35ef4d4861b14edb49187b780f1895b1cb"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"3afc51ec_1d6808f5","line":14,"updated":"2016-03-12 05:07:59.000000000","message":"nit: blank line not needed.","commit_id":"6f860637f3d92dc4f90fe620bcf3bd2c2337772a"}],"ironic/api/controllers/v1/node.py":[{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"1bf171165e7d5b2426b6d3fca7c7f5e359899b74","unresolved":false,"context_lines":[{"line_number":530,"context_line":"        pecan.response.location \u003d link.build_url(\u0027nodes\u0027, url_args)"},{"line_number":531,"context_line":""},{"line_number":532,"context_line":"def clean_steps_schema():"},{"line_number":533,"context_line":" global _CLEAN_STEPS_SCHEMA"},{"line_number":534,"context_line":" if _CLEAN_STEPS_SCHEMA is None:"},{"line_number":535,"context_line":"    interfaces \u003d conductor_utils.CLEANING_INTERFACE_PRIORITY.keys()"},{"line_number":536,"context_line":"    _CLEAN_STEPS_SCHEMA \u003d {"},{"line_number":537,"context_line":"     \"title\": \"Clean steps schema\","},{"line_number":538,"context_line":"     \"type\": \"array\","},{"line_number":539,"context_line":"     #list of clean steps"},{"line_number":540,"context_line":"     \"items\": {"},{"line_number":541,"context_line":"      \"type\": \"object\","},{"line_number":542,"context_line":"      #args is optional"},{"line_number":543,"context_line":"      \"required\": [\"interface\",\"step\"]"},{"line_number":544,"context_line":"      \"properties\": {"},{"line_number":545,"context_line":"       \"interface\": {"},{"line_number":546,"context_line":"        \"description\": \"driver interface\""},{"line_number":547,"context_line":"        \"type\": \"string\""},{"line_number":548,"context_line":"        \"enum\": interfaces"},{"line_number":549,"context_line":"        #interface value must be one of the valid interfaces"},{"line_number":550,"context_line":"       },"},{"line_number":551,"context_line":"       \"step\": {"},{"line_number":552,"context_line":"        \"description\": \"name of clean step\""},{"line_number":553,"context_line":"        \"type\": \"string\""},{"line_number":554,"context_line":"       },"},{"line_number":555,"context_line":"       \"args\": {"},{"line_number":556,"context_line":"        \"description\": \"additionals args\""},{"line_number":557,"context_line":"        \"type\": \"object\","},{"line_number":558,"context_line":"        \"properties\": {}"},{"line_number":559,"context_line":"       },"},{"line_number":560,"context_line":"      },"},{"line_number":561,"context_line":"      #interface, step and args are the only expected keys"},{"line_number":562,"context_line":"      \"additionalProperties\": False"},{"line_number":563,"context_line":"     }"},{"line_number":564,"context_line":"    }"},{"line_number":565,"context_line":"    return _CLEAN_STEPS_SCHEMA"},{"line_number":566,"context_line":""},{"line_number":567,"context_line":"def _check_clean_steps(clean_steps):"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_eb92789e","line":564,"range":{"start_line":533,"start_character":0,"end_line":564,"end_character":5},"updated":"2016-02-27 14:47:11.000000000","message":"bad indentations.","commit_id":"2f837410ee47f6dc4e7a47a91308f8a0a7630109"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"c07a49b58563c7b042337c15515de2230f12be4f","unresolved":false,"context_lines":[{"line_number":533,"context_line":"    global _CLEAN_STEPS_SCHEMA"},{"line_number":534,"context_line":"    if _CLEAN_STEPS_SCHEMA is None:"},{"line_number":535,"context_line":"        interfaces \u003d conductor_utils.CLEANING_INTERFACE_PRIORITY.keys()"},{"line_number":536,"context_line":"        _CLEAN_STEPS_SCHEMA \u003d {"},{"line_number":537,"context_line":"            \"title\": \"Clean steps schema\","},{"line_number":538,"context_line":"            \"type\": \"array\","},{"line_number":539,"context_line":"            # list of clean steps"}],"source_content_type":"text/x-python","patch_set":6,"id":"5aef4532_f5729c7b","line":536,"updated":"2016-03-07 18:21:23.000000000","message":"Why can\u0027t we just define it on L50 as a constant?","commit_id":"b47bbac19c800df23759ca1729399fd7ca6c8b8e"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"c07a49b58563c7b042337c15515de2230f12be4f","unresolved":false,"context_lines":[{"line_number":545,"context_line":"                    \"interface\": {"},{"line_number":546,"context_line":"                        \"description\": \"driver interface\","},{"line_number":547,"context_line":"                        \"type\": \"string\","},{"line_number":548,"context_line":"                        \"enum\": interfaces"},{"line_number":549,"context_line":"                        #interface value must be one of the valid interfaces"},{"line_number":550,"context_line":"                    },"},{"line_number":551,"context_line":"                    \"step\": {"}],"source_content_type":"text/x-python","patch_set":6,"id":"5aef4532_d0484e30","line":548,"updated":"2016-03-07 18:21:23.000000000","message":"This gives schema error on python3, you should do the following instead:\n\n interfaces \u003d list(conductor_utils.CLEANING_INTERFACE_PRIORITY)","commit_id":"b47bbac19c800df23759ca1729399fd7ca6c8b8e"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"4b589b01ff5ad40db124aa10584faaf7f8d8ba86","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"import ast"},{"line_number":17,"context_line":"import datetime"},{"line_number":18,"context_line":"import jsonschema"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from oslo_config import cfg"},{"line_number":21,"context_line":"from oslo_log import log"}],"source_content_type":"text/x-python","patch_set":10,"id":"3afc51ec_bdb0f48c","line":18,"updated":"2016-03-12 05:07:59.000000000","message":"This is not a built in Python library. It should be in the section below.","commit_id":"6f860637f3d92dc4f90fe620bcf3bd2c2337772a"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"4b589b01ff5ad40db124aa10584faaf7f8d8ba86","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":50,"context_line":"_CLEAN_STEPS_SCHEMA \u003d {"},{"line_number":51,"context_line":"    \"title\": \"Clean steps schema\","},{"line_number":52,"context_line":"    \"type\": \"array\","},{"line_number":53,"context_line":"    # list of clean steps"},{"line_number":54,"context_line":"    \"items\": {"}],"source_content_type":"text/x-python","patch_set":10,"id":"3afc51ec_fd58bc58","line":51,"updated":"2016-03-12 05:07:59.000000000","message":"Should there be an entry like:\n\n \"$schema\": \"http://json-schema.org/schema#\"\n\nhttp://spacetelescope.github.io/understanding-json-schema/basics.html","commit_id":"6f860637f3d92dc4f90fe620bcf3bd2c2337772a"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"4b589b01ff5ad40db124aa10584faaf7f8d8ba86","unresolved":false,"context_lines":[{"line_number":60,"context_line":"                \"description\": \"driver interface\","},{"line_number":61,"context_line":"                \"type\": \"string\","},{"line_number":62,"context_line":"                \"enum\": list("},{"line_number":63,"context_line":"                    conductor_utils.CLEANING_INTERFACE_PRIORITY.keys()"},{"line_number":64,"context_line":"                )"},{"line_number":65,"context_line":"                # interface value must be one of the valid interfaces"},{"line_number":66,"context_line":"            },"}],"source_content_type":"text/x-python","patch_set":10,"id":"3afc51ec_dd2ce0ad","line":63,"updated":"2016-03-12 05:07:59.000000000","message":"nit: \u0027.keys()\u0027 not required.","commit_id":"6f860637f3d92dc4f90fe620bcf3bd2c2337772a"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"4b589b01ff5ad40db124aa10584faaf7f8d8ba86","unresolved":false,"context_lines":[{"line_number":69,"context_line":"                \"type\": \"string\""},{"line_number":70,"context_line":"            },"},{"line_number":71,"context_line":"            \"args\": {"},{"line_number":72,"context_line":"                \"description\": \"additionals args\","},{"line_number":73,"context_line":"                \"type\": \"object\","},{"line_number":74,"context_line":"                \"properties\": {}"},{"line_number":75,"context_line":"            },"}],"source_content_type":"text/x-python","patch_set":10,"id":"3afc51ec_bd7754d3","line":72,"updated":"2016-03-12 05:07:59.000000000","message":"s/additionals/additional/","commit_id":"6f860637f3d92dc4f90fe620bcf3bd2c2337772a"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"cb315d854efe8560bfa7d8bcc7199f29548eed12","unresolved":false,"context_lines":[{"line_number":572,"context_line":"    try:"},{"line_number":573,"context_line":"        jsonschema.validate(clean_steps, _CLEAN_STEPS_SCHEMA)"},{"line_number":574,"context_line":"    except jsonschema.ValidationError as exc:"},{"line_number":575,"context_line":"        raise exception.InvalidParameterValue(_(\u0027Invalid clean_steps. %s\u0027) %"},{"line_number":576,"context_line":"                                              exc)"},{"line_number":577,"context_line":""},{"line_number":578,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"3afc51ec_8c26a866","line":575,"updated":"2016-03-12 13:44:52.000000000","message":"nit: \":\" instead of \".\"","commit_id":"18b6bd646c3c41d893785f58612c32b9a0ced4d8"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"2088039bcb5eda7ff87253f165289cc8eef1d9a8","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        \"properties\": {"},{"line_number":60,"context_line":"            \"interface\": {"},{"line_number":61,"context_line":"                \"description\": \"driver interface\","},{"line_number":62,"context_line":"                \"type\": \"string\","},{"line_number":63,"context_line":"                \"enum\": list(conductor_utils.CLEANING_INTERFACE_PRIORITY)"},{"line_number":64,"context_line":"                # interface value must be one of the valid interfaces"},{"line_number":65,"context_line":"            },"}],"source_content_type":"text/x-python","patch_set":13,"id":"3afc51ec_1771eee0","line":62,"range":{"start_line":62,"start_character":16,"end_line":62,"end_character":33},"updated":"2016-03-14 03:50:28.000000000","message":"this is unnecessary, as it must be one of \"enum\" below.","commit_id":"299adf429dadd932014a5b34494075dfba30c356"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"2088039bcb5eda7ff87253f165289cc8eef1d9a8","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            },"},{"line_number":66,"context_line":"            \"step\": {"},{"line_number":67,"context_line":"                \"description\": \"name of clean step\","},{"line_number":68,"context_line":"                \"type\": \"string\""},{"line_number":69,"context_line":"            },"},{"line_number":70,"context_line":"            \"args\": {"},{"line_number":71,"context_line":"                \"description\": \"additional args\","}],"source_content_type":"text/x-python","patch_set":13,"id":"3afc51ec_da020d09","line":68,"range":{"start_line":68,"start_character":15,"end_line":68,"end_character":16},"updated":"2016-03-14 03:50:28.000000000","message":"add \u0027minLength\u0027: 1 here to validate blank or empty string, and this keeps consistent with the original behavior.","commit_id":"299adf429dadd932014a5b34494075dfba30c356"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"8d2d4c2254551589bfce6e1ec49873ad52f64363","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            },"},{"line_number":66,"context_line":"            \"step\": {"},{"line_number":67,"context_line":"                \"description\": \"name of clean step\","},{"line_number":68,"context_line":"                \"type\": \"string\""},{"line_number":69,"context_line":"            },"},{"line_number":70,"context_line":"            \"args\": {"},{"line_number":71,"context_line":"                \"description\": \"additional args\","}],"source_content_type":"text/x-python","patch_set":13,"id":"3afc51ec_dd50470d","line":68,"range":{"start_line":68,"start_character":15,"end_line":68,"end_character":16},"in_reply_to":"3afc51ec_da020d09","updated":"2016-03-14 04:17:33.000000000","message":"+1, this is a good point.","commit_id":"299adf429dadd932014a5b34494075dfba30c356"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"04197a2e28f675b022d2a7322ab7d0c3d8973cd5","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            \"step\": {"},{"line_number":66,"context_line":"                \"description\": \"name of clean step\","},{"line_number":67,"context_line":"                \"type\": \"string\","},{"line_number":68,"context_line":"                \"minLength\": 1"},{"line_number":69,"context_line":"            },"},{"line_number":70,"context_line":"            \"args\": {"},{"line_number":71,"context_line":"                \"description\": \"additional args\","}],"source_content_type":"text/x-python","patch_set":14,"id":"3afc51ec_c84c0773","line":68,"range":{"start_line":68,"start_character":16,"end_line":68,"end_character":30},"updated":"2016-03-14 05:25:18.000000000","message":"thanks for the update, but I think we should add a new test for this, and the error message should be something like \"is too short\", otherwise looks good to me.","commit_id":"040548bbbdd52a4c174d1f5bba9af38d6f25ac4c"}],"ironic/tests/unit/api/v1/test_nodes.py":[{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"072b501f61df24cfe1b411f526803603bec96aa0","unresolved":false,"context_lines":[{"line_number":2321,"context_line":""},{"line_number":2322,"context_line":""},{"line_number":2323,"context_line":"class TestCheckCleanSteps(base.TestCase):"},{"line_number":2324,"context_line":"    def test__check_clean_steps_not_list(self):"},{"line_number":2325,"context_line":"        clean_steps \u003d {\"step\": \"upgrade_firmware\", \"interface\": \"deploy\"}"},{"line_number":2326,"context_line":"        self.assertRaises(exception.InvalidParameterValue,"},{"line_number":2327,"context_line":"                          api_node._check_clean_steps, clean_steps)"}],"source_content_type":"text/x-python","patch_set":8,"id":"3afc51ec_f281254f","line":2324,"range":{"start_line":2324,"start_character":8,"end_line":2324,"end_character":40},"updated":"2016-03-11 14:44:28.000000000","message":"Khan, why using the method name with double underscore after test (\u0027test__*\u0027)?","commit_id":"6c59c7ed7f7f6dbada0968076894a36ee079298d"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"4b589b01ff5ad40db124aa10584faaf7f8d8ba86","unresolved":false,"context_lines":[{"line_number":2323,"context_line":"class TestCheckCleanSteps(base.TestCase):"},{"line_number":2324,"context_line":"    def test_check_clean_steps_not_list(self):"},{"line_number":2325,"context_line":"        clean_steps \u003d {\"step\": \"upgrade_firmware\", \"interface\": \"deploy\"}"},{"line_number":2326,"context_line":"        self.assertRaises(exception.InvalidParameterValue,"},{"line_number":2327,"context_line":"                          api_node._check_clean_steps, clean_steps)"},{"line_number":2328,"context_line":""},{"line_number":2329,"context_line":"    def test_check_clean_steps_step_not_dict(self):"}],"source_content_type":"text/x-python","patch_set":10,"id":"3afc51ec_80094f2f","line":2326,"updated":"2016-03-12 05:07:59.000000000","message":"Why get rid of the Regexp? Not saying it is wrong, but curious why.","commit_id":"6f860637f3d92dc4f90fe620bcf3bd2c2337772a"},{"author":{"_account_id":20481,"name":"Sana Khan","email":"sanakhan2011@gmail.com","username":"sana.khan"},"change_message_id":"dde9f41835320cfe808e94af599181422d559482","unresolved":false,"context_lines":[{"line_number":2323,"context_line":"class TestCheckCleanSteps(base.TestCase):"},{"line_number":2324,"context_line":"    def test_check_clean_steps_not_list(self):"},{"line_number":2325,"context_line":"        clean_steps \u003d {\"step\": \"upgrade_firmware\", \"interface\": \"deploy\"}"},{"line_number":2326,"context_line":"        self.assertRaises(exception.InvalidParameterValue,"},{"line_number":2327,"context_line":"                          api_node._check_clean_steps, clean_steps)"},{"line_number":2328,"context_line":""},{"line_number":2329,"context_line":"    def test_check_clean_steps_step_not_dict(self):"}],"source_content_type":"text/x-python","patch_set":10,"id":"3afc51ec_00f25fd2","line":2326,"in_reply_to":"3afc51ec_80094f2f","updated":"2016-03-12 05:49:42.000000000","message":"Because in assertRaisesRegexp(exception, r, fun, *args, **kwds), the raised exception message should match the regex r.\nIn _check_clean_steps I have only one exception: InvalidParameterValue with the message \u0027Invalid clean_steps\u0027 that would not match the regex \u0027list\u0027, \u0027dictionary\u0027, \u0027Unrecognized\u0027, \u0027interface\u0027, \u0027step\u0027, etc. That is why.","commit_id":"6f860637f3d92dc4f90fe620bcf3bd2c2337772a"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"cb315d854efe8560bfa7d8bcc7199f29548eed12","unresolved":false,"context_lines":[{"line_number":2321,"context_line":""},{"line_number":2322,"context_line":""},{"line_number":2323,"context_line":"class TestCheckCleanSteps(base.TestCase):"},{"line_number":2324,"context_line":"    def test_check_clean_steps_not_list(self):"},{"line_number":2325,"context_line":"        clean_steps \u003d {\"step\": \"upgrade_firmware\", \"interface\": \"deploy\"}"},{"line_number":2326,"context_line":"        self.assertRaises(exception.InvalidParameterValue,"},{"line_number":2327,"context_line":"                          api_node._check_clean_steps, clean_steps)"}],"source_content_type":"text/x-python","patch_set":11,"id":"3afc51ec_6c2b5c31","line":2324,"updated":"2016-03-12 13:44:52.000000000","message":"please don\u0027t rename unit tests","commit_id":"18b6bd646c3c41d893785f58612c32b9a0ced4d8"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"cb315d854efe8560bfa7d8bcc7199f29548eed12","unresolved":false,"context_lines":[{"line_number":2323,"context_line":"class TestCheckCleanSteps(base.TestCase):"},{"line_number":2324,"context_line":"    def test_check_clean_steps_not_list(self):"},{"line_number":2325,"context_line":"        clean_steps \u003d {\"step\": \"upgrade_firmware\", \"interface\": \"deploy\"}"},{"line_number":2326,"context_line":"        self.assertRaises(exception.InvalidParameterValue,"},{"line_number":2327,"context_line":"                          api_node._check_clean_steps, clean_steps)"},{"line_number":2328,"context_line":""},{"line_number":2329,"context_line":"    def test_check_clean_steps_step_not_dict(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"3afc51ec_cc20b04c","line":2326,"updated":"2016-03-12 13:44:52.000000000","message":"it was good to have a part of a message in the check, so that we\u0027re sure that the cause of an exceptions is the same that we expect. Please keep these checks (modifying to fit the new error messages)","commit_id":"18b6bd646c3c41d893785f58612c32b9a0ced4d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"471a10145c2d9a9d4057dd877b2850f41c5f2efe","unresolved":false,"context_lines":[{"line_number":2324,"context_line":"    def test__check_clean_steps_not_list(self):"},{"line_number":2325,"context_line":"        clean_steps \u003d {\"step\": \"upgrade_firmware\", \"interface\": \"deploy\"}"},{"line_number":2326,"context_line":"        self.assertRaisesRegexp(exception.InvalidParameterValue,"},{"line_number":2327,"context_line":"                                \u0027Invalid clean_steps\u0027,"},{"line_number":2328,"context_line":"                                api_node._check_clean_steps, clean_steps)"},{"line_number":2329,"context_line":""},{"line_number":2330,"context_line":"    def test__check_clean_steps_step_not_dict(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"3afc51ec_726332dd","line":2327,"updated":"2016-03-12 15:39:06.000000000","message":"There should be a string that is more specific to this particular failure. Doesn\u0027t the jsonschema return something more specific?\n\nI would think each one of these tests should have a unique string that shows each one gets a different error back.","commit_id":"b6f6e1ae4980d72b0901b2b880201225d472ea32"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"1db3f1074fcb38d855f3a4d265c18348e80a01ae","unresolved":false,"context_lines":[{"line_number":2324,"context_line":"    def test__check_clean_steps_not_list(self):"},{"line_number":2325,"context_line":"        clean_steps \u003d {\"step\": \"upgrade_firmware\", \"interface\": \"deploy\"}"},{"line_number":2326,"context_line":"        self.assertRaisesRegexp(exception.InvalidParameterValue,"},{"line_number":2327,"context_line":"                                \u0027Invalid clean_steps\u0027,"},{"line_number":2328,"context_line":"                                api_node._check_clean_steps, clean_steps)"},{"line_number":2329,"context_line":""},{"line_number":2330,"context_line":"    def test__check_clean_steps_step_not_dict(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"3afc51ec_2fc2dc33","line":2327,"in_reply_to":"3afc51ec_726332dd","updated":"2016-03-13 15:44:53.000000000","message":"++\n\nAll \u0027Invalid clean_steps\u0027 can not specify the failed check situations, is there any unique string returned from the jsonschema.validate to make this happen?","commit_id":"b6f6e1ae4980d72b0901b2b880201225d472ea32"}]}
