)]}'
{"horizon/test/helpers.py":[{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"72345ff6548227f4f154d698532281715b197a53","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        html \u003d html.encode(\u0027ascii\u0027, \u0027replace\u0027)"},{"line_number":71,"context_line":"    return old_assert_and_parse_html(self, html, user_msg, msg)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"django_testcases.assert_and_parse_html \u003d patched_assert_and_parse_html"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"class RequestFactoryWithMessages(RequestFactory):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1ae5cdf2_68ab5c1d","line":73,"updated":"2014-06-03 09:22:53.000000000","message":"Please make sure you only patch this for your own code, and restore it afterwards.","commit_id":"65db8eaf40a0919d6a0753f7a30ca63544281be2"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"bab2008698161c4300764fd5de7a2b32560e240d","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"# due to https://code.djangoproject.com/ticket/10183, a replacement of"},{"line_number":61,"context_line":"# specific non-ascii characters is needed"},{"line_number":62,"context_line":"old_assert_and_parse_html \u003d django_testcases.assert_and_parse_html"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_772b3594","line":61,"updated":"2014-06-03 11:39:39.000000000","message":"perhaps move this comment to docstring on the patched_assert_and_parse_html function?","commit_id":"0b4c9552e8ed8971804da9449b6a6a7352b339e9"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"bab2008698161c4300764fd5de7a2b32560e240d","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"# due to https://code.djangoproject.com/ticket/10183, a replacement of"},{"line_number":61,"context_line":"# specific non-ascii characters is needed"},{"line_number":62,"context_line":"old_assert_and_parse_html \u003d django_testcases.assert_and_parse_html"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"def patched_assert_and_parse_html(self, html, user_msg, msg):"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_5730f900","line":62,"updated":"2014-06-03 11:39:39.000000000","message":"this should happen on line 111, just before you swap it out,\nand you can use an attribute on the test for it","commit_id":"0b4c9552e8ed8971804da9449b6a6a7352b339e9"}],"openstack_dashboard/dashboards/admin/metering/tests.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cc0d6118dd199592cf6edab40e423146608683fb","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        self.assertTemplateUsed(res, \u0027admin/metering/daily.html\u0027)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    def _verify_series(self, series, value, date, expected_names):"},{"line_number":52,"context_line":"        expected_names.reverse()"},{"line_number":53,"context_line":"        data \u003d json.loads(series)"},{"line_number":54,"context_line":"        self.assertTrue(\u0027series\u0027 in data)"},{"line_number":55,"context_line":"        self.assertEqual(len(data[\u0027series\u0027]), len(expected_names))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAXH%2F%2FmaE%3D","line":52,"updated":"2014-04-18 22:50:14.000000000","message":"Don\u0027t need to reverse the order anymore.","commit_id":"1ea181b4415fd6080703f89f35368437cc81a37f"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cc0d6118dd199592cf6edab40e423146608683fb","unresolved":false,"context_lines":[{"line_number":59,"context_line":"            self.assertAlmostEqual(d[\u0027data\u0027][0].get(\u0027y\u0027), value)"},{"line_number":60,"context_line":"            self.assertEqual(d[\u0027data\u0027][0].get(\u0027x\u0027), date)"},{"line_number":61,"context_line":"            self.assertEqual(d.get(\u0027unit\u0027), \u0027\u0027)"},{"line_number":62,"context_line":"            self.assertTrue(d.get(\u0027name\u0027) in expected_names)"},{"line_number":63,"context_line":"            expected_names.remove(d.get(\u0027name\u0027))"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"        self.assertEqual(data.get(\u0027settings\u0027), {})"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAXH%2F%2FmZ0%3D","line":62,"updated":"2014-04-18 22:50:14.000000000","message":"self.assertIn() might be better here","commit_id":"1ea181b4415fd6080703f89f35368437cc81a37f"}],"openstack_dashboard/dashboards/admin/overview/tests.py":[{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"7d549da6e4037fec4db98ac79b082e6b3338e3af","unresolved":false,"context_lines":[{"line_number":32,"context_line":"from openstack_dashboard.test import helpers as test"},{"line_number":33,"context_line":"from openstack_dashboard import usage"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"import re"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"INDEX_URL \u003d reverse(\u0027horizon:project:overview:index\u0027)"},{"line_number":38,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAXX%2F%2FuC8%3D","line":35,"updated":"2014-04-28 13:36:51.000000000","message":"this should be grouped with \"import datetime\"","commit_id":"831969c036abfa7a97c3e52941f65b48eab0ca7d"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"7d549da6e4037fec4db98ac79b082e6b3338e3af","unresolved":false,"context_lines":[{"line_number":116,"context_line":"                       usage_list[0].vcpu_hours,"},{"line_number":117,"context_line":"                       usage_list[0].total_local_gb_usage)"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"        usage_table \u003d re.escape(usage_table).replace(\u0027\\\\\u003ctd\\\\\u003e\u0027, \u0027\\\\\u003ctd.*?\\\\\u003e\u0027)"},{"line_number":120,"context_line":"        usage_table \u003d \u0027.*?\u0027 + usage_table + \u0027.*\u0027"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        # test for deleted project"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAXX%2F%2FuCQ%3D","line":119,"updated":"2014-04-28 13:36:51.000000000","message":"Use r\"\" to avoid double backslashes.\n\nWhy are we parsing HTML with regexps here?","commit_id":"831969c036abfa7a97c3e52941f65b48eab0ca7d"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"7d549da6e4037fec4db98ac79b082e6b3338e3af","unresolved":false,"context_lines":[{"line_number":144,"context_line":"            else:"},{"line_number":145,"context_line":"                self.assertNotRegexpMatches(str(res.content), usage_table1)"},{"line_number":146,"context_line":"        else:"},{"line_number":147,"context_line":"            self.assertNotRegexpMatches(str(res.content), usage_table)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    def test_usage_csv(self):"},{"line_number":150,"context_line":"        self._test_usage_csv(nova_stu_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAXX%2F%2FuBw%3D","line":147,"updated":"2014-04-28 13:36:51.000000000","message":"WHY?","commit_id":"831969c036abfa7a97c3e52941f65b48eab0ca7d"},{"author":{"_account_id":10112,"name":"Jason E. Rist","email":"jrist@redhat.com","username":"jrist"},"change_message_id":"6b7ffd994f80b2183e6c623fdf9c4e10aa9472f9","unresolved":false,"context_lines":[{"line_number":144,"context_line":"            else:"},{"line_number":145,"context_line":"                self.assertNotRegexpMatches(str(res.content), usage_table1)"},{"line_number":146,"context_line":"        else:"},{"line_number":147,"context_line":"            self.assertNotRegexpMatches(str(res.content), usage_table)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    def test_usage_csv(self):"},{"line_number":150,"context_line":"        self._test_usage_csv(nova_stu_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7adec928_b06319db","line":147,"in_reply_to":"AAAAXX%2F%2FuBw%3D","updated":"2014-05-13 18:21:28.000000000","message":"Same q.","commit_id":"831969c036abfa7a97c3e52941f65b48eab0ca7d"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"4e5541809eafe4da56f5a1fd84ab996ed58e1372","unresolved":false,"context_lines":[{"line_number":144,"context_line":"            else:"},{"line_number":145,"context_line":"                self.assertNotRegexpMatches(str(res.content), usage_table1)"},{"line_number":146,"context_line":"        else:"},{"line_number":147,"context_line":"            self.assertNotRegexpMatches(str(res.content), usage_table)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    def test_usage_csv(self):"},{"line_number":150,"context_line":"        self._test_usage_csv(nova_stu_enabled\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAXX%2F%2Ft%2BI%3D","line":147,"in_reply_to":"AAAAXX%2F%2FuBw%3D","updated":"2014-04-28 13:42:03.000000000","message":"https://docs.djangoproject.com/en/dev/topics/testing/tools/#django.test.SimpleTestCase.assertInHTML","commit_id":"831969c036abfa7a97c3e52941f65b48eab0ca7d"}],"openstack_dashboard/test/api_tests/ceilometer_tests.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cc0d6118dd199592cf6edab40e423146608683fb","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        names \u003d [\"disk.read.bytes\", \"disk.write.bytes\", \"instance\"]"},{"line_number":104,"context_line":"        for ret in ret_list:"},{"line_number":105,"context_line":"            self.assertTrue(ret.name in names)"},{"line_number":106,"context_line":"            names.remove(ret.name)"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"    @test.create_stubs({api.nova: (\u0027flavor_list\u0027,),"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAXH%2F%2FmZY%3D","line":105,"updated":"2014-04-18 22:50:14.000000000","message":"Use self.assertIn(member, container)","commit_id":"1ea181b4415fd6080703f89f35368437cc81a37f"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cc0d6118dd199592cf6edab40e423146608683fb","unresolved":false,"context_lines":[{"line_number":157,"context_line":"        names \u003d [\"disk.read.bytes\", \"instance\"]"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"        for ret in ret_list:"},{"line_number":160,"context_line":"            self.assertTrue(ret.name in names)"},{"line_number":161,"context_line":"            names.remove(ret.name)"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"    #TODO(lsmola)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAXH%2F%2FmZM%3D","line":160,"updated":"2014-04-18 22:50:14.000000000","message":"same here","commit_id":"1ea181b4415fd6080703f89f35368437cc81a37f"}]}
