)]}'
{"ironicclient/tests/functional/osc/v1/base.py":[{"author":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"change_message_id":"573dcd846979e4c69ce869726181e83076e6c1ed","unresolved":false,"context_lines":[{"line_number":210,"context_line":"                                 .format(opts, uuid, params))"},{"line_number":211,"context_line":"        return json.loads(chassis)"},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"    def driver_show(self, driver_name, fields\u003dNone, params\u003d\u0027\u0027):"},{"line_number":214,"context_line":"        opts \u003d self.get_opts(fields\u003dfields)"},{"line_number":215,"context_line":"        driver \u003d self.openstack(\u0027baremetal driver show {0} {1}\u0027"},{"line_number":216,"context_line":"                                .format(opts, driver_name, params))"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a8ec9b2_5ce8f916","line":213,"range":{"start_line":213,"start_character":4,"end_line":213,"end_character":63},"updated":"2016-09-20 02:12:27.000000000","message":"Implementation looks good, but we would need docstrings as other functions above.","commit_id":"b7e079fde9bea39b7ea0781d8ee17d49b22fddef"},{"author":{"_account_id":14614,"name":"Kyrylo Romanenko","display_name":"K.Romanenko","email":"romanenko-kv@hotmail.com","username":"kromanenko"},"change_message_id":"1b4707251166e038c199cbede4c214007f9526a7","unresolved":false,"context_lines":[{"line_number":210,"context_line":"                                 .format(opts, uuid, params))"},{"line_number":211,"context_line":"        return json.loads(chassis)"},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"    def driver_show(self, driver_name, fields\u003dNone, params\u003d\u0027\u0027):"},{"line_number":214,"context_line":"        opts \u003d self.get_opts(fields\u003dfields)"},{"line_number":215,"context_line":"        driver \u003d self.openstack(\u0027baremetal driver show {0} {1}\u0027"},{"line_number":216,"context_line":"                                .format(opts, driver_name, params))"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a8ec9b2_a7361ab2","line":213,"range":{"start_line":213,"start_character":4,"end_line":213,"end_character":63},"in_reply_to":"7a8ec9b2_5ce8f916","updated":"2016-09-20 15:10:59.000000000","message":"Done","commit_id":"b7e079fde9bea39b7ea0781d8ee17d49b22fddef"},{"author":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"change_message_id":"573dcd846979e4c69ce869726181e83076e6c1ed","unresolved":false,"context_lines":[{"line_number":216,"context_line":"                                .format(opts, driver_name, params))"},{"line_number":217,"context_line":"        return json.loads(driver)"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    def driver_list(self, fields\u003dNone, params\u003d\u0027\u0027):"},{"line_number":220,"context_line":"        opts \u003d self.get_opts(fields\u003dfields)"},{"line_number":221,"context_line":"        return self.openstack(\u0027baremetal driver list {0} {1}\u0027"},{"line_number":222,"context_line":"                              .format(opts, params))"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a8ec9b2_9cf28105","line":219,"range":{"start_line":219,"start_character":4,"end_line":219,"end_character":50},"updated":"2016-09-20 02:12:27.000000000","message":"ditto","commit_id":"b7e079fde9bea39b7ea0781d8ee17d49b22fddef"},{"author":{"_account_id":14614,"name":"Kyrylo Romanenko","display_name":"K.Romanenko","email":"romanenko-kv@hotmail.com","username":"kromanenko"},"change_message_id":"1b4707251166e038c199cbede4c214007f9526a7","unresolved":false,"context_lines":[{"line_number":216,"context_line":"                                .format(opts, driver_name, params))"},{"line_number":217,"context_line":"        return json.loads(driver)"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    def driver_list(self, fields\u003dNone, params\u003d\u0027\u0027):"},{"line_number":220,"context_line":"        opts \u003d self.get_opts(fields\u003dfields)"},{"line_number":221,"context_line":"        return self.openstack(\u0027baremetal driver list {0} {1}\u0027"},{"line_number":222,"context_line":"                              .format(opts, params))"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a8ec9b2_87b91e18","line":219,"range":{"start_line":219,"start_character":4,"end_line":219,"end_character":50},"in_reply_to":"7a8ec9b2_9cf28105","updated":"2016-09-20 15:10:59.000000000","message":"Done","commit_id":"b7e079fde9bea39b7ea0781d8ee17d49b22fddef"},{"author":{"_account_id":20522,"name":"Aline Bousquet","email":"albousque@gmail.com","username":"alineb"},"change_message_id":"35b71f6ca7b3f91dd6ccbd3e18671d3232af8d13","unresolved":false,"context_lines":[{"line_number":220,"context_line":"        :return: JSON object of driver"},{"line_number":221,"context_line":"        \"\"\""},{"line_number":222,"context_line":"        opts \u003d self.get_opts(fields\u003dfields)"},{"line_number":223,"context_line":"        driver \u003d self.openstack(\u0027baremetal driver show {0} {1}\u0027"},{"line_number":224,"context_line":"                                .format(opts, driver_name, params))"},{"line_number":225,"context_line":"        return json.loads(driver)"},{"line_number":226,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"3a71b18c_f28ffdc9","line":223,"updated":"2016-12-02 11:45:24.000000000","message":"Missing a \u0027{2}\u0027 for \u0027params\u0027 here","commit_id":"34ec7698c5dc256ad6dc428808994c1c1c5e58a6"},{"author":{"_account_id":14614,"name":"Kyrylo Romanenko","display_name":"K.Romanenko","email":"romanenko-kv@hotmail.com","username":"kromanenko"},"change_message_id":"bb7f4fa08f770f30f876b302e58d170a947d772a","unresolved":false,"context_lines":[{"line_number":220,"context_line":"        :return: JSON object of driver"},{"line_number":221,"context_line":"        \"\"\""},{"line_number":222,"context_line":"        opts \u003d self.get_opts(fields\u003dfields)"},{"line_number":223,"context_line":"        driver \u003d self.openstack(\u0027baremetal driver show {0} {1}\u0027"},{"line_number":224,"context_line":"                                .format(opts, driver_name, params))"},{"line_number":225,"context_line":"        return json.loads(driver)"},{"line_number":226,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"3a71b18c_31fa50be","line":223,"in_reply_to":"3a71b18c_f28ffdc9","updated":"2016-12-02 12:40:37.000000000","message":"Done","commit_id":"34ec7698c5dc256ad6dc428808994c1c1c5e58a6"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"265a01a259005723aad69abb3ba49cef047b1c20","unresolved":false,"context_lines":[{"line_number":285,"context_line":"                                 .format(opts, uuid, params))"},{"line_number":286,"context_line":"        return json.loads(chassis)"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"    def driver_show(self, driver_name, fields\u003dNone, params\u003d\u0027\u0027):"},{"line_number":289,"context_line":"        \"\"\"Show specified baremetal driver."},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"        :param String driver_name: Name of the driver"}],"source_content_type":"text/x-python","patch_set":9,"id":"bf091321_df49cc60","line":288,"updated":"2017-06-07 23:29:27.000000000","message":"Hi, I would have preferred the order reversed: driver_list and then driver_show. But, I am ok.","commit_id":"b47727f3aa8a8185cf54cf2bcb3751a04f01912e"}],"ironicclient/tests/functional/osc/v1/test_baremetal_driver_basic.py":[{"author":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"change_message_id":"573dcd846979e4c69ce869726181e83076e6c1ed","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    driver_name \u003d \u0027fake\u0027"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def test_show(self):"},{"line_number":24,"context_line":"        \"\"\"Test steps:"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"        1) Check output of baremetal driver show command."},{"line_number":27,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"7a8ec9b2_5ca0f9a5","line":24,"range":{"start_line":24,"start_character":16,"end_line":24,"end_character":21},"updated":"2016-09-20 02:12:27.000000000","message":"nit: s/steps/step/","commit_id":"b7e079fde9bea39b7ea0781d8ee17d49b22fddef"},{"author":{"_account_id":14614,"name":"Kyrylo Romanenko","display_name":"K.Romanenko","email":"romanenko-kv@hotmail.com","username":"kromanenko"},"change_message_id":"1b4707251166e038c199cbede4c214007f9526a7","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    driver_name \u003d \u0027fake\u0027"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def test_show(self):"},{"line_number":24,"context_line":"        \"\"\"Test steps:"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"        1) Check output of baremetal driver show command."},{"line_number":27,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"7a8ec9b2_075b4ef7","line":24,"range":{"start_line":24,"start_character":16,"end_line":24,"end_character":21},"in_reply_to":"7a8ec9b2_5ca0f9a5","updated":"2016-09-20 15:10:59.000000000","message":"Done","commit_id":"b7e079fde9bea39b7ea0781d8ee17d49b22fddef"},{"author":{"_account_id":20522,"name":"Aline Bousquet","email":"albousque@gmail.com","username":"alineb"},"change_message_id":"35b71f6ca7b3f91dd6ccbd3e18671d3232af8d13","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        1) Get list of drivers."},{"line_number":35,"context_line":"        2) Check that list of drivers is not empty."},{"line_number":36,"context_line":"        \"\"\""},{"line_number":37,"context_line":"        drivers \u003d [x[\u0027Supported driver(s)\u0027] for x in self.list_driver()]"},{"line_number":38,"context_line":"        self.assertTrue(len(drivers) \u003e 0)"},{"line_number":39,"context_line":"        self.assertIn(self.driver_name, drivers)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3a71b18c_0d061ece","line":37,"range":{"start_line":37,"start_character":58,"end_line":37,"end_character":69},"updated":"2016-12-02 11:45:24.000000000","message":"As far as I can tell, list_driver() tests the ironic CLI. So shouldn\u0027t you use the driver_list() method (that you added in this patch) here to test the OSC baremetal plugin?","commit_id":"34ec7698c5dc256ad6dc428808994c1c1c5e58a6"},{"author":{"_account_id":14614,"name":"Kyrylo Romanenko","display_name":"K.Romanenko","email":"romanenko-kv@hotmail.com","username":"kromanenko"},"change_message_id":"bb7f4fa08f770f30f876b302e58d170a947d772a","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        1) Get list of drivers."},{"line_number":35,"context_line":"        2) Check that list of drivers is not empty."},{"line_number":36,"context_line":"        \"\"\""},{"line_number":37,"context_line":"        drivers \u003d [x[\u0027Supported driver(s)\u0027] for x in self.list_driver()]"},{"line_number":38,"context_line":"        self.assertTrue(len(drivers) \u003e 0)"},{"line_number":39,"context_line":"        self.assertIn(self.driver_name, drivers)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3a71b18c_9116c4ef","line":37,"range":{"start_line":37,"start_character":58,"end_line":37,"end_character":69},"in_reply_to":"3a71b18c_0d061ece","updated":"2016-12-02 12:40:37.000000000","message":"Thank you for attentiveness, Aline!","commit_id":"34ec7698c5dc256ad6dc428808994c1c1c5e58a6"},{"author":{"_account_id":14228,"name":"Clif Houck","email":"me@clifhouck.com","username":"clif_h"},"change_message_id":"55ab06066e066fbf6f0881284e7a872d397b6922","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        1) Get list of drivers."},{"line_number":35,"context_line":"        2) Check that list of drivers is not empty."},{"line_number":36,"context_line":"        \"\"\""},{"line_number":37,"context_line":"        drivers \u003d [x[\u0027Supported driver(s)\u0027] for x in self.driver_list()]"},{"line_number":38,"context_line":"        self.assertTrue(len(drivers) \u003e 0)"},{"line_number":39,"context_line":"        self.assertIn(self.driver_name, drivers)"}],"source_content_type":"text/x-python","patch_set":6,"id":"3a71b18c_a74ea238","line":37,"updated":"2016-12-06 15:02:29.000000000","message":"Nit: \u0027x\u0027 should be more descriptive, maybe \u0027driver\u0027?","commit_id":"2e4dc98d71275d4c484a3ee8855239d739b6a679"},{"author":{"_account_id":14614,"name":"Kyrylo Romanenko","display_name":"K.Romanenko","email":"romanenko-kv@hotmail.com","username":"kromanenko"},"change_message_id":"0b8b7a1e8d75a7a1a0c0d778fe12a701b5f51585","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        1) Get list of drivers."},{"line_number":35,"context_line":"        2) Check that list of drivers is not empty."},{"line_number":36,"context_line":"        \"\"\""},{"line_number":37,"context_line":"        drivers \u003d [x[\u0027Supported driver(s)\u0027] for x in self.driver_list()]"},{"line_number":38,"context_line":"        self.assertTrue(len(drivers) \u003e 0)"},{"line_number":39,"context_line":"        self.assertIn(self.driver_name, drivers)"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_38916f9a","line":37,"in_reply_to":"3a71b18c_a74ea238","updated":"2016-12-13 14:05:33.000000000","message":"Done","commit_id":"2e4dc98d71275d4c484a3ee8855239d739b6a679"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"265a01a259005723aad69abb3ba49cef047b1c20","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    driver_name \u003d \u0027fake\u0027"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def test_show(self):"},{"line_number":24,"context_line":"        \"\"\"Test step:"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"        1) Check output of baremetal driver show command."}],"source_content_type":"text/x-python","patch_set":9,"id":"bf091321_9f75949b","line":23,"updated":"2017-06-07 23:29:27.000000000","message":"Same here.","commit_id":"b47727f3aa8a8185cf54cf2bcb3751a04f01912e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9e61e18b6d4816a702f5367741a30a6e09342dce","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        drivers \u003d ["},{"line_number":40,"context_line":"            driver[\u0027Supported driver(s)\u0027] for driver in self.driver_list()"},{"line_number":41,"context_line":"        ]"},{"line_number":42,"context_line":"        self.assertTrue(len(drivers) \u003e 0)"},{"line_number":43,"context_line":"        self.assertIn(self.driver_name, drivers)"}],"source_content_type":"text/x-python","patch_set":12,"id":"1f1a1f67_acaa4916","line":42,"updated":"2017-07-21 07:43:44.000000000","message":"please use self.assertTrue(drivers) or self.assertGreater(len(drivers), 0)","commit_id":"77790d8e096b0a8c627b2fbc3dc06274106197f3"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9e61e18b6d4816a702f5367741a30a6e09342dce","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            driver[\u0027Supported driver(s)\u0027] for driver in self.driver_list()"},{"line_number":41,"context_line":"        ]"},{"line_number":42,"context_line":"        self.assertTrue(len(drivers) \u003e 0)"},{"line_number":43,"context_line":"        self.assertIn(self.driver_name, drivers)"}],"source_content_type":"text/x-python","patch_set":12,"id":"1f1a1f67_8ca78d50","line":43,"updated":"2017-07-21 07:43:44.000000000","message":"this check makes the previous check redundant","commit_id":"77790d8e096b0a8c627b2fbc3dc06274106197f3"},{"author":{"_account_id":14614,"name":"Kyrylo Romanenko","display_name":"K.Romanenko","email":"romanenko-kv@hotmail.com","username":"kromanenko"},"change_message_id":"c79ae948d420ea7fe478be268becb5dd1f7a9cf8","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            driver[\u0027Supported driver(s)\u0027] for driver in self.driver_list()"},{"line_number":41,"context_line":"        ]"},{"line_number":42,"context_line":"        self.assertTrue(len(drivers) \u003e 0)"},{"line_number":43,"context_line":"        self.assertIn(self.driver_name, drivers)"}],"source_content_type":"text/x-python","patch_set":12,"id":"df3967d1_85218950","line":43,"in_reply_to":"1f1a1f67_8ca78d50","updated":"2017-07-31 14:58:49.000000000","message":"Thanks, so i will keep only this check.","commit_id":"77790d8e096b0a8c627b2fbc3dc06274106197f3"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cfb6cd7a509804b8125f9635b436479b7ef81ee8","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        Test steps:"},{"line_number":36,"context_line":"        1) Get list of drivers."},{"line_number":37,"context_line":"        2) Check that list of drivers is not empty."},{"line_number":38,"context_line":"        \"\"\""},{"line_number":39,"context_line":"        drivers \u003d ["},{"line_number":40,"context_line":"            driver[\u0027Supported driver(s)\u0027] for driver in self.driver_list()"}],"source_content_type":"text/x-python","patch_set":13,"id":"7f287b81_91981375","line":37,"updated":"2017-08-30 00:10:27.000000000","message":"well, it checks that \u0027fake\u0027 is one of the drivers. but anyway...","commit_id":"bf330cb679440a7d3bc14990f7bd1d674b47d337"}]}
