)]}'
{"openstack_dashboard/dashboards/project/containers/tests.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"0f8067c9b41afb86059485d10ffded6582e7633b","unresolved":false,"context_lines":[{"line_number":371,"context_line":"                        content \u003d content.encode(\u0027utf-8\u0027)"},{"line_number":372,"context_line":"                expected \u003d expected.encode(\u0027utf-8\u0027)"},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"                self.assertEqual(content, expected)"},{"line_number":375,"context_line":""},{"line_number":376,"context_line":"    @test.create_stubs({api.swift: (\u0027swift_get_containers\u0027,)})"},{"line_number":377,"context_line":"    def test_copy_index(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a5ae5dd_9309fadf","line":374,"updated":"2016-02-04 19:36:36.000000000","message":"first argument is the expected value","commit_id":"34ef42a923fab149d192161b2ee41183704328a0"},{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"2bc20f2c3233aafc7424b48cccb7076ac406c1dd","unresolved":false,"context_lines":[{"line_number":371,"context_line":"                        content \u003d content.encode(\u0027utf-8\u0027)"},{"line_number":372,"context_line":"                expected \u003d expected.encode(\u0027utf-8\u0027)"},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"                self.assertEqual(content, expected)"},{"line_number":375,"context_line":""},{"line_number":376,"context_line":"    @test.create_stubs({api.swift: (\u0027swift_get_containers\u0027,)})"},{"line_number":377,"context_line":"    def test_copy_index(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a5ae5dd_690a2f7b","line":374,"in_reply_to":"5a5ae5dd_9309fadf","updated":"2016-02-05 10:42:12.000000000","message":"Is it a requirement in whatever coding style? I don\u0027t see it at http://docs.openstack.org/developer/hacking/\n\nThe prototype of unittest.TestCase.assertEqual() is:\n\n    def assertEqual(self, first, second, msg\u003dNone):\n\nI\u0027m not aware of any rule to order parameters.\n\nI have the habit of writing \"if x \u003d\u003d 5\" in Python, not \"if 5 \u003d\u003d x\".\n\nI know that some C developers prefer to write \"if (5 \u003d\u003d x)\", but GCC is now smart enough to emit a warning on \"if (x \u003d 5)\". Anyway, in Python, \"if x\u003d5:\" emits a SyntaxError.\n\nIf it\u0027s a not a requirement, please don\u0027t vote -1 ;-)","commit_id":"34ef42a923fab149d192161b2ee41183704328a0"}]}
