)]}'
{"nova/tests/functional/test_nova_manage.py":[{"author":{"_account_id":26936,"name":"Surya Seetharaman","email":"suryaseetharaman.9@gmail.com","username":"tssurya"},"change_message_id":"05ecb8a0ab71f293f3de005fd5f41b854aecc2fd","unresolved":false,"context_lines":[{"line_number":324,"context_line":"        self.commands.discover_hosts()"},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"        # We should have one host mapping"},{"line_number":327,"context_line":"        hms \u003d objects.HostMappingList.get_all(self.context)"},{"line_number":328,"context_line":"        self.assertEqual(1, len(hms))"},{"line_number":329,"context_line":""},{"line_number":330,"context_line":"        # We should have one mapped node"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_44054f13","line":327,"range":{"start_line":327,"start_character":22,"end_line":327,"end_character":45},"updated":"2018-04-20 12:55:35.000000000","message":"Since this function is not there in pike, using the HostMapping.get_by_host() function instead.","commit_id":"6e91f6ac253de63983b9390f4a7ca0cd3c28af1b"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"b707e4227d42c071b4545314b9249bd5296f653e","unresolved":false,"context_lines":[{"line_number":325,"context_line":"        self.commands.discover_hosts()"},{"line_number":326,"context_line":""},{"line_number":327,"context_line":"        # We should have one host mapping"},{"line_number":328,"context_line":"        hms \u003d [objects.HostMapping.get_by_host(self.context, \u0027fake-host1\u0027)]"},{"line_number":329,"context_line":"        self.assertEqual(1, len(hms))"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"        # We should have one mapped node"},{"line_number":332,"context_line":"        cns \u003d objects.ComputeNodeList.get_all(self.context)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_2f384c9e","line":329,"range":{"start_line":328,"start_character":8,"end_line":329,"end_character":37},"updated":"2018-05-09 14:20:34.000000000","message":"Remove the list and assertEqual check here. If the host mapping doesn\u0027t exist, it will raise an exception from get_by_host so that\u0027s all we need.","commit_id":"673184e7c365b49f7566170bda20f2630405deef"}]}
