)]}'
{"doc/api_samples/os-coverage/coverage-xml-report-post-req.json":[{"author":{"_account_id":5174,"name":"Mauro Sergio Martins Rodrigues","email":"maurosr@linux.vnet.ibm.com","username":"maurosr"},"change_message_id":"10e19ad85e168c1bae690f2341fbb51f80ed3e58","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{\"report\": {\"xml\": true, \"file\": \"report\"}}"}],"source_content_type":"application/json","patch_set":3,"id":"AAAAM3%2F%2F9vs%3D","line":1,"updated":"2012-12-18 17:51:02.000000000","message":"suggestion: multiple line would be better","commit_id":"cf03ef85997e91cbe8ce019e5ca1f9db4ea45ffe"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"2ef08105f1bcaa75de987a7f45920de18bb74672","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{\"report\": {\"xml\": true, \"file\": \"report\"}}"}],"source_content_type":"application/json","patch_set":3,"id":"AAAAM3%2F%2F9sE%3D","line":1,"in_reply_to":"AAAAM3%2F%2F9vs%3D","updated":"2012-12-18 18:53:24.000000000","message":"Done","commit_id":"cf03ef85997e91cbe8ce019e5ca1f9db4ea45ffe"},{"author":{"_account_id":5174,"name":"Mauro Sergio Martins Rodrigues","email":"maurosr@linux.vnet.ibm.com","username":"maurosr"},"change_message_id":"90c031c593f3b814cd99c48a7b05f85aa83e89d2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"report\": {"},{"line_number":3,"context_line":"        \"xml\": true, "},{"line_number":4,"context_line":"        \"file\": \"report\""},{"line_number":5,"context_line":"    }"},{"line_number":6,"context_line":"}"}],"source_content_type":"application/json","patch_set":4,"id":"AAAAM3%2F%2F9dM%3D","line":3,"updated":"2012-12-18 21:13:54.000000000","message":"white space","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"17a9713ed4299f9ab3138314df9a7e0ef83f8ac7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"report\": {"},{"line_number":3,"context_line":"        \"xml\": true, "},{"line_number":4,"context_line":"        \"file\": \"report\""},{"line_number":5,"context_line":"    }"},{"line_number":6,"context_line":"}"}],"source_content_type":"application/json","patch_set":4,"id":"AAAAM3%2F%2F9TA%3D","line":3,"in_reply_to":"AAAAM3%2F%2F9dM%3D","updated":"2012-12-18 22:35:04.000000000","message":"Done","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"}],"nova/tests/integrated/api_samples/os-coverage/coverage-xml-report-post-req.json.tpl":[{"author":{"_account_id":5174,"name":"Mauro Sergio Martins Rodrigues","email":"maurosr@linux.vnet.ibm.com","username":"maurosr"},"change_message_id":"10e19ad85e168c1bae690f2341fbb51f80ed3e58","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{\"report\": {\"xml\": true, \"file\": \"%(filename)s\"}}"}],"source_content_type":"text/x-smarty","patch_set":3,"id":"AAAAM3%2F%2F91Y%3D","line":1,"updated":"2012-12-18 17:51:02.000000000","message":"suggestion: in multiple lines would look better","commit_id":"cf03ef85997e91cbe8ce019e5ca1f9db4ea45ffe"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"2ef08105f1bcaa75de987a7f45920de18bb74672","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{\"report\": {\"xml\": true, \"file\": \"%(filename)s\"}}"}],"source_content_type":"text/x-smarty","patch_set":3,"id":"AAAAM3%2F%2F9sA%3D","line":1,"in_reply_to":"AAAAM3%2F%2F91Y%3D","updated":"2012-12-18 18:53:24.000000000","message":"Done","commit_id":"cf03ef85997e91cbe8ce019e5ca1f9db4ea45ffe"},{"author":{"_account_id":5174,"name":"Mauro Sergio Martins Rodrigues","email":"maurosr@linux.vnet.ibm.com","username":"maurosr"},"change_message_id":"90c031c593f3b814cd99c48a7b05f85aa83e89d2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"report\": {"},{"line_number":3,"context_line":"        \"xml\": true, "},{"line_number":4,"context_line":"        \"file\": \"%(filename)s\""},{"line_number":5,"context_line":"    }"},{"line_number":6,"context_line":"}"}],"source_content_type":"text/x-smarty","patch_set":4,"id":"AAAAM3%2F%2F9dA%3D","line":3,"updated":"2012-12-18 21:13:54.000000000","message":"white space","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"17a9713ed4299f9ab3138314df9a7e0ef83f8ac7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"report\": {"},{"line_number":3,"context_line":"        \"xml\": true, "},{"line_number":4,"context_line":"        \"file\": \"%(filename)s\""},{"line_number":5,"context_line":"    }"},{"line_number":6,"context_line":"}"}],"source_content_type":"text/x-smarty","patch_set":4,"id":"AAAAM3%2F%2F9S8%3D","line":3,"in_reply_to":"AAAAM3%2F%2F9dA%3D","updated":"2012-12-18 22:35:04.000000000","message":"Done","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"}],"nova/tests/integrated/test_api_samples.py":[{"author":{"_account_id":4598,"name":"Giampaolo Lauria","email":"lauria@us.ibm.com","username":"lauria"},"change_message_id":"8bc7bf12b71d693241de6c3d37a5223cfa0e766f","unresolved":false,"context_lines":[{"line_number":749,"context_line":"        response \u003d self._do_post(\u0027os-coverage/action\u0027,"},{"line_number":750,"context_line":"                                 \u0027coverage-start-post-req\u0027, subs)"},{"line_number":751,"context_line":"        self.assertEqual(response.status, 200)"},{"line_number":752,"context_line":"        subs.update(self._get_regexes())"},{"line_number":753,"context_line":""},{"line_number":754,"context_line":"    def test_start_coverage_combine(self):"},{"line_number":755,"context_line":"        \"\"\"Start coverage data collection\"\"\""}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAM3%2F%2F9VM%3D","line":752,"updated":"2012-12-18 22:21:33.000000000","message":"Not needed.","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"17a9713ed4299f9ab3138314df9a7e0ef83f8ac7","unresolved":false,"context_lines":[{"line_number":749,"context_line":"        response \u003d self._do_post(\u0027os-coverage/action\u0027,"},{"line_number":750,"context_line":"                                 \u0027coverage-start-post-req\u0027, subs)"},{"line_number":751,"context_line":"        self.assertEqual(response.status, 200)"},{"line_number":752,"context_line":"        subs.update(self._get_regexes())"},{"line_number":753,"context_line":""},{"line_number":754,"context_line":"    def test_start_coverage_combine(self):"},{"line_number":755,"context_line":"        \"\"\"Start coverage data collection\"\"\""}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAM3%2F%2F9TQ%3D","line":752,"in_reply_to":"AAAAM3%2F%2F9VM%3D","updated":"2012-12-18 22:35:04.000000000","message":"Done","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"},{"author":{"_account_id":4598,"name":"Giampaolo Lauria","email":"lauria@us.ibm.com","username":"lauria"},"change_message_id":"8bc7bf12b71d693241de6c3d37a5223cfa0e766f","unresolved":false,"context_lines":[{"line_number":757,"context_line":"        response \u003d self._do_post(\u0027os-coverage/action\u0027,"},{"line_number":758,"context_line":"                                 \u0027coverage-start-combine-post-req\u0027, subs)"},{"line_number":759,"context_line":"        self.assertEqual(response.status, 200)"},{"line_number":760,"context_line":"        subs.update(self._get_regexes())"},{"line_number":761,"context_line":""},{"line_number":762,"context_line":"    def test_stop_coverage(self):"},{"line_number":763,"context_line":"        \"\"\"Stop coverage data collection\"\"\""}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAM3%2F%2F9VE%3D","line":760,"updated":"2012-12-18 22:21:33.000000000","message":"Not needed.","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"17a9713ed4299f9ab3138314df9a7e0ef83f8ac7","unresolved":false,"context_lines":[{"line_number":757,"context_line":"        response \u003d self._do_post(\u0027os-coverage/action\u0027,"},{"line_number":758,"context_line":"                                 \u0027coverage-start-combine-post-req\u0027, subs)"},{"line_number":759,"context_line":"        self.assertEqual(response.status, 200)"},{"line_number":760,"context_line":"        subs.update(self._get_regexes())"},{"line_number":761,"context_line":""},{"line_number":762,"context_line":"    def test_stop_coverage(self):"},{"line_number":763,"context_line":"        \"\"\"Stop coverage data collection\"\"\""}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAM3%2F%2F9TM%3D","line":760,"in_reply_to":"AAAAM3%2F%2F9VE%3D","updated":"2012-12-18 22:35:04.000000000","message":"Done","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"},{"author":{"_account_id":4598,"name":"Giampaolo Lauria","email":"lauria@us.ibm.com","username":"lauria"},"change_message_id":"8bc7bf12b71d693241de6c3d37a5223cfa0e766f","unresolved":false,"context_lines":[{"line_number":765,"context_line":"        response \u003d self._do_post(\u0027os-coverage/action\u0027,"},{"line_number":766,"context_line":"                                 \u0027coverage-stop-post-req\u0027, subs)"},{"line_number":767,"context_line":"        self.assertEqual(response.status, 200)"},{"line_number":768,"context_line":"        subs.update(self._get_regexes())"},{"line_number":769,"context_line":""},{"line_number":770,"context_line":"    def test_report_coverage(self):"},{"line_number":771,"context_line":"        \"\"\"Generate a coverage report\"\"\""}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAM3%2F%2F9VA%3D","line":768,"updated":"2012-12-18 22:21:33.000000000","message":"Not needed.","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"17a9713ed4299f9ab3138314df9a7e0ef83f8ac7","unresolved":false,"context_lines":[{"line_number":765,"context_line":"        response \u003d self._do_post(\u0027os-coverage/action\u0027,"},{"line_number":766,"context_line":"                                 \u0027coverage-stop-post-req\u0027, subs)"},{"line_number":767,"context_line":"        self.assertEqual(response.status, 200)"},{"line_number":768,"context_line":"        subs.update(self._get_regexes())"},{"line_number":769,"context_line":""},{"line_number":770,"context_line":"    def test_report_coverage(self):"},{"line_number":771,"context_line":"        \"\"\"Generate a coverage report\"\"\""}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAM3%2F%2F9TE%3D","line":768,"in_reply_to":"AAAAM3%2F%2F9VA%3D","updated":"2012-12-18 22:35:04.000000000","message":"Done","commit_id":"450b2e577b3d42c2bb024f01f06e4cce148aad63"},{"author":{"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},"change_message_id":"b8cf0cc30c559db95ed2ebdbf3c668b2757ba4bf","unresolved":false,"context_lines":[{"line_number":745,"context_line":"                       _fake_find_ports)"},{"line_number":746,"context_line":"        self.stubs.Set(coverage_ext.CoverageController, \u0027_check_coverage\u0027,"},{"line_number":747,"context_line":"                       _fake_check_coverage)"},{"line_number":748,"context_line":"        self.stubs.Set(coverage, \u0027xml_report\u0027, _fake_xml_report)"},{"line_number":749,"context_line":""},{"line_number":750,"context_line":"    def test_start_coverage(self):"},{"line_number":751,"context_line":"        \"\"\"Start coverage data collection\"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAM3%2F%2F7CM%3D","line":748,"updated":"2012-12-20 17:51:13.000000000","message":"is there a reason we need to fake all of this stuff out? I tend to prefer not using fakes unless we have to.","commit_id":"a8a1a579751224232021e2c7d48b71bbd662a670"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"3af473234d2b8eb48aa41f2347fef9df567eb40f","unresolved":false,"context_lines":[{"line_number":745,"context_line":"                       _fake_find_ports)"},{"line_number":746,"context_line":"        self.stubs.Set(coverage_ext.CoverageController, \u0027_check_coverage\u0027,"},{"line_number":747,"context_line":"                       _fake_check_coverage)"},{"line_number":748,"context_line":"        self.stubs.Set(coverage, \u0027xml_report\u0027, _fake_xml_report)"},{"line_number":749,"context_line":""},{"line_number":750,"context_line":"    def test_start_coverage(self):"},{"line_number":751,"context_line":"        \"\"\"Start coverage data collection\"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAM3%2F%2F64s%3D","line":748,"in_reply_to":"AAAAM3%2F%2F66Y%3D","updated":"2012-12-20 19:42:11.000000000","message":"Done","commit_id":"a8a1a579751224232021e2c7d48b71bbd662a670"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"2659a6a2bb022a2e5fe3d1f65a6bff0542f43338","unresolved":false,"context_lines":[{"line_number":745,"context_line":"                       _fake_find_ports)"},{"line_number":746,"context_line":"        self.stubs.Set(coverage_ext.CoverageController, \u0027_check_coverage\u0027,"},{"line_number":747,"context_line":"                       _fake_check_coverage)"},{"line_number":748,"context_line":"        self.stubs.Set(coverage, \u0027xml_report\u0027, _fake_xml_report)"},{"line_number":749,"context_line":""},{"line_number":750,"context_line":"    def test_start_coverage(self):"},{"line_number":751,"context_line":"        \"\"\"Start coverage data collection\"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAM3%2F%2F66Y%3D","line":748,"in_reply_to":"AAAAM3%2F%2F7CM%3D","updated":"2012-12-20 19:18:05.000000000","message":"Nice call Vish! The stubbing can be cleaned up a lot, but not completely.\n\n- _find_ports() actually was failing because of a bug. (It was failing with 500 if backdoor_port \u003d\u003d None) I just stubbed it out instead of investigating the cause of the failure. I\u0027ll throw a patch up in front of this to fix it. Thanks for having me reinvestigate.\n\n- telnet.write() on further testing it isn\u0027t actually needed since I\u0027m stubbing on _find_ports() to return [] nothing was trying to use telnet. I just assumed it was because this is needed if telnet is used. After I make the fix for find_ports() I\u0027ll confirm that no telnet connections are being established for these tests and remove this stub too.\n\n- _check_coverage() is to get around errors when trying to stop coverage. The coverage module throws an exception whenever you try to stop coverage and it isn\u0027t running. Since coverage isn\u0027t started in the other action tests, I just skip the stops with this stub.\n\n- xml_report() won\u0027t work because of the above stub and it\u0027s underlying reason for being there. xml_report() throws an exception if there isn\u0027t any data to report on. It is unavoidable here since coverage isn\u0027t running on anything for the xml report tests. Oddly, though coverage.report() doesn\u0027t throw an exception for this case.","commit_id":"a8a1a579751224232021e2c7d48b71bbd662a670"},{"author":{"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},"change_message_id":"c4b9727cf5e7b52def7adac679ed297a1a68223f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"import inspect"},{"line_number":19,"context_line":"import os"},{"line_number":20,"context_line":"import re"},{"line_number":21,"context_line":"import telnetlib"},{"line_number":22,"context_line":"import urllib"},{"line_number":23,"context_line":"import uuid as uuid_lib"},{"line_number":24,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAAM3%2F%2F60w%3D","line":21,"updated":"2012-12-20 20:30:28.000000000","message":"not used anymore","commit_id":"1871f62d573d8d07bb0e967da12251ab38f24523"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"1ca3293bc8d8cd1b4869cea7353ed3f6581c4075","unresolved":false,"context_lines":[{"line_number":18,"context_line":"import inspect"},{"line_number":19,"context_line":"import os"},{"line_number":20,"context_line":"import re"},{"line_number":21,"context_line":"import telnetlib"},{"line_number":22,"context_line":"import urllib"},{"line_number":23,"context_line":"import uuid as uuid_lib"},{"line_number":24,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAAM3%2F%2F60E%3D","line":21,"in_reply_to":"AAAAM3%2F%2F60w%3D","updated":"2012-12-20 20:54:49.000000000","message":"Done","commit_id":"1871f62d573d8d07bb0e967da12251ab38f24523"}]}
