)]}'
{"reno/tests/test_utils.py":[{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"e622ca9e287037f71f724f833717d7c335cc25e7","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    @mock.patch(\u0027random.randrange\u0027)"},{"line_number":33,"context_line":"    @mock.patch(\u0027os.urandom\u0027)"},{"line_number":34,"context_line":"    def test_with_urandom(self, urandom, randrange):"},{"line_number":35,"context_line":"        urandom.return_value \u003d b\u0027\\x62\u0027 * 8"},{"line_number":36,"context_line":"        randrange.return_value \u003d ord(\u0027a\u0027)"},{"line_number":37,"context_line":"        actual \u003d utils.get_random_string()"},{"line_number":38,"context_line":"        expected \u003d \u002762\u0027 * 8  # hex for ord(\u0027b\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba8a016a_fe749436","line":35,"updated":"2015-11-18 18:42:35.000000000","message":"I wonder whether reno/utils.py is correct with the except clause:\n\nexcept Exception as e:\n        print(\u0027ERROR, perhaps urandom is not supported: %s\u0027 % e)\n        val \u003d \u0027\u0027.join(\u0027%02x\u0027 % random.randrange(256)\n                      for i in range(nbytes))\n    return val","commit_id":"a66f93f07acd14060b1c3dc5c4151e4fb81ff9b0"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"e9ebfed4945f663910f4c4f0233345cda2f99555","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    @mock.patch(\u0027random.randrange\u0027)"},{"line_number":33,"context_line":"    @mock.patch(\u0027os.urandom\u0027)"},{"line_number":34,"context_line":"    def test_with_urandom(self, urandom, randrange):"},{"line_number":35,"context_line":"        urandom.return_value \u003d b\u0027\\x62\u0027 * 8"},{"line_number":36,"context_line":"        randrange.return_value \u003d ord(\u0027a\u0027)"},{"line_number":37,"context_line":"        actual \u003d utils.get_random_string()"},{"line_number":38,"context_line":"        expected \u003d \u002762\u0027 * 8  # hex for ord(\u0027b\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba8a016a_7e445d73","line":35,"in_reply_to":"ba8a016a_f0c64315","updated":"2015-11-23 18:19:04.000000000","message":"Note to myself for when I get back to this: The return types in utils are different in the try and except parts of that function under python 3. The try block always returns a byte string but the except block return unicode. We should probably make it consistent under python 2 and 3. The docstring declares that it\u0027s returning a text_type.","commit_id":"a66f93f07acd14060b1c3dc5c4151e4fb81ff9b0"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"a11e72ed594fda6318b8785f9c9dbe736d1347d5","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    @mock.patch(\u0027random.randrange\u0027)"},{"line_number":33,"context_line":"    @mock.patch(\u0027os.urandom\u0027)"},{"line_number":34,"context_line":"    def test_with_urandom(self, urandom, randrange):"},{"line_number":35,"context_line":"        urandom.return_value \u003d b\u0027\\x62\u0027 * 8"},{"line_number":36,"context_line":"        randrange.return_value \u003d ord(\u0027a\u0027)"},{"line_number":37,"context_line":"        actual \u003d utils.get_random_string()"},{"line_number":38,"context_line":"        expected \u003d \u002762\u0027 * 8  # hex for ord(\u0027b\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba8a016a_f0c64315","line":35,"in_reply_to":"ba8a016a_fe749436","updated":"2015-11-23 15:56:08.000000000","message":"I\u0027m missing something in what you\u0027re saying. What do you think is wrong?","commit_id":"a66f93f07acd14060b1c3dc5c4151e4fb81ff9b0"}]}
