)]}'
{"kuryr/tests/unit/test_join.py":[{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"382f4644fea7f634135d75976872b6477e9f4d62","unresolved":false,"context_lines":[{"line_number":24,"context_line":"from kuryr.tests.unit import base"},{"line_number":25,"context_line":"from kuryr import utils"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"_hash \u003d hashlib.sha256(utils.getrandbits(256)).hexdigest"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"@ddt.ddt"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_2cedf725","line":27,"updated":"2016-05-24 10:45:32.000000000","message":"This is making the hash be always the same:\n\n    In [15]: _hash()\n    Out[15]: \u0027c933a8650080695cffc5f7c2a24f4ed428baec397e8f7ab374edee8a74384c80\u0027\n\n    In [16]: _hash()\n    Out[16]: \u0027c933a8650080695cffc5f7c2a24f4ed428baec397e8f7ab374edee8a74384c80\u0027\n\n    In [17]: _hash()\n    Out[17]: \u0027c933a8650080695cffc5f7c2a24f4ed428baec397e8f7ab374edee8a74384c80\u0027\n\n    In [18]: _hash()\n    Out[18]: \u0027c933a8650080695cffc5f7c2a24f4ed428baec397e8f7ab374edee8a74384c80\u0027\n\nThis is a change of functionality in the test. I do not see the benefit of\nkeeping it as a method. If we want the digest to be always the same, let\u0027s make\nthis a constant.\n\nIf however, the intention was to get a different hash each time, you should\nchange the _hash definition so that getrandbits ran at each call.","commit_id":"b565dd077f1d94f4c769a0bb04a09ccabbbc6a5b"},{"author":{"_account_id":9820,"name":"Liping Mao","email":"limao@cisco.com","username":"LipingMao"},"change_message_id":"c4182fc3581995ec86d94f0eec4e5f08c4ed00f8","unresolved":false,"context_lines":[{"line_number":24,"context_line":"from kuryr.tests.unit import base"},{"line_number":25,"context_line":"from kuryr import utils"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"_hash \u003d hashlib.sha256(utils.getrandbits(256)).hexdigest"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"@ddt.ddt"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_819f7ab3","line":27,"in_reply_to":"bab6814e_2cedf725","updated":"2016-05-24 14:50:08.000000000","message":"+1, maybe something like:\ndef _hash(n):\n    return hashlib.sha256(n).hexdigest()\n\n\n_hash(utils.getrandbits(256))","commit_id":"b565dd077f1d94f4c769a0bb04a09ccabbbc6a5b"},{"author":{"_account_id":7018,"name":"Abhishek Raut","email":"rauta@vmware.com","username":"abhiraut"},"change_message_id":"91f49412c6a7851291ec4995ab1da94e4450c4f8","unresolved":false,"context_lines":[{"line_number":24,"context_line":"from kuryr.tests.unit import base"},{"line_number":25,"context_line":"from kuryr import utils"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"_hash \u003d hashlib.sha256(utils.getrandbits(256)).hexdigest"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"@ddt.ddt"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_b72f4aa0","line":27,"in_reply_to":"bab6814e_819f7ab3","updated":"2016-05-24 22:27:22.000000000","message":"Done","commit_id":"b565dd077f1d94f4c769a0bb04a09ccabbbc6a5b"}]}
