)]}'
{"cinder/tests/unit/scheduler/test_capacity_weigher.py":[{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        # so, host4 should win:"},{"line_number":168,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":169,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":170,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":171,"context_line":"        self.assertEqual("},{"line_number":172,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":173,"context_line":"        # and host2 is the worst:"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_3b598535","line":170,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual). 0.0 should be first.","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":168,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":169,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":170,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":171,"context_line":"        self.assertEqual("},{"line_number":172,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":173,"context_line":"        # and host2 is the worst:"},{"line_number":174,"context_line":"        worst_host \u003d weighed_hosts[-1]"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_db44214b","line":171,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":172,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":173,"context_line":"        # and host2 is the worst:"},{"line_number":174,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":175,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":176,"context_line":"        self.assertEqual("},{"line_number":177,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host2\u0027)"},{"line_number":178,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_9b4a1954","line":175,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":173,"context_line":"        # and host2 is the worst:"},{"line_number":174,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":175,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":176,"context_line":"        self.assertEqual("},{"line_number":177,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host2\u0027)"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"    def test_capacity_weight_free_unknown(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_bb459543","line":176,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":211,"context_line":"        # so, host4 should win:"},{"line_number":212,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":213,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":214,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":215,"context_line":"        self.assertEqual("},{"line_number":216,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":217,"context_line":"        # and host5 is the worst:"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_7b7aad89","line":214,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":212,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":213,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":214,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":215,"context_line":"        self.assertEqual("},{"line_number":216,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":217,"context_line":"        # and host5 is the worst:"},{"line_number":218,"context_line":"        worst_host \u003d weighed_hosts[-1]"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_1b6da9cb","line":215,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":216,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":217,"context_line":"        # and host5 is the worst:"},{"line_number":218,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":219,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":220,"context_line":"        self.assertEqual("},{"line_number":221,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host5\u0027)"},{"line_number":222,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_3b70a5a3","line":219,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":217,"context_line":"        # and host5 is the worst:"},{"line_number":218,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":219,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":220,"context_line":"        self.assertEqual("},{"line_number":221,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host5\u0027)"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"    def test_capacity_weight_cap_unknown(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_fb66bdeb","line":220,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        # so, host4 should win:"},{"line_number":256,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":257,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":258,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":259,"context_line":"        self.assertEqual("},{"line_number":260,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":261,"context_line":"        # and host5 is the worst:"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_5b9ed1b9","line":258,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":256,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":257,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":258,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":259,"context_line":"        self.assertEqual("},{"line_number":260,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":261,"context_line":"        # and host5 is the worst:"},{"line_number":262,"context_line":"        worst_host \u003d weighed_hosts[-1]"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_7ba14df7","line":259,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":260,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":261,"context_line":"        # and host5 is the worst:"},{"line_number":262,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":263,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":264,"context_line":"        self.assertEqual("},{"line_number":265,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host5\u0027)"},{"line_number":266,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_dbb2e14b","line":263,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":261,"context_line":"        # and host5 is the worst:"},{"line_number":262,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":263,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":264,"context_line":"        self.assertEqual("},{"line_number":265,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host5\u0027)"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"    def test_capacity_weight_free_infinite(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_9bb8d92b","line":264,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":299,"context_line":"        # so, host4 should win:"},{"line_number":300,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":301,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":302,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":303,"context_line":"        self.assertEqual("},{"line_number":304,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":305,"context_line":"        # and host5 is the worst:"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_3b7e656a","line":302,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":300,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":301,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":302,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":303,"context_line":"        self.assertEqual("},{"line_number":304,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":305,"context_line":"        # and host5 is the worst:"},{"line_number":306,"context_line":"        worst_host \u003d weighed_hosts[-1]"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_db9981c5","line":303,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":304,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":305,"context_line":"        # and host5 is the worst:"},{"line_number":306,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":307,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":308,"context_line":"        self.assertEqual("},{"line_number":309,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host5\u0027)"},{"line_number":310,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_fb947d8b","line":307,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":305,"context_line":"        # and host5 is the worst:"},{"line_number":306,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":307,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":308,"context_line":"        self.assertEqual("},{"line_number":309,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host5\u0027)"},{"line_number":310,"context_line":""},{"line_number":311,"context_line":"    def test_capacity_weight_cap_infinite(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_9b8f7974","line":308,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":343,"context_line":"        # so, host4 should win:"},{"line_number":344,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":345,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":346,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":347,"context_line":"        self.assertEqual("},{"line_number":348,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":349,"context_line":"        # and host5 is the worst:"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_bb8a7562","line":346,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":344,"context_line":"        weighed_hosts \u003d self._get_weighed_hosts(hostinfo_list)"},{"line_number":345,"context_line":"        best_host \u003d weighed_hosts[0]"},{"line_number":346,"context_line":"        self.assertEqual(best_host.weight, 0.0)"},{"line_number":347,"context_line":"        self.assertEqual("},{"line_number":348,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":349,"context_line":"        # and host5 is the worst:"},{"line_number":350,"context_line":"        worst_host \u003d weighed_hosts[-1]"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_5bec9129","line":347,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":348,"context_line":"            utils.extract_host(best_host.obj.host), \u0027host4\u0027)"},{"line_number":349,"context_line":"        # and host5 is the worst:"},{"line_number":350,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":351,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":352,"context_line":"        self.assertEqual("},{"line_number":353,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host5\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_7bef0d1e","line":351,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"},{"author":{"_account_id":16973,"name":"Skyler Berg","email":"skylertheberg@gmail.com","username":"sberg"},"change_message_id":"eede8ab9519112e5cc77d3d56a2e1d8bc5a7df05","unresolved":false,"context_lines":[{"line_number":349,"context_line":"        # and host5 is the worst:"},{"line_number":350,"context_line":"        worst_host \u003d weighed_hosts[-1]"},{"line_number":351,"context_line":"        self.assertEqual(worst_host.weight, -1.0)"},{"line_number":352,"context_line":"        self.assertEqual("},{"line_number":353,"context_line":"            utils.extract_host(worst_host.obj.host), \u0027host5\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_3bf505ec","line":352,"updated":"2015-08-06 21:26:04.000000000","message":"Argument order should be (expected, actual).","commit_id":"2b3e4f42d28cbfd6473f823ba2b1c45f3175f790"}]}
