)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6802,"name":"Joel Coffman","email":"jmc7tp@gmail.com","username":"joel-coffman"},"change_message_id":"883811c7bdb97b909b4bec6aa5484ac3c42f69b8","unresolved":false,"context_lines":[{"line_number":7,"context_line":"fixed test to work with random PYTHONHASHSEED"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"to compare objects, that contains nested collections new method"},{"line_number":10,"context_line":"assertJsonEqual was used. It\u0027s usage allows not to rely on constant"},{"line_number":11,"context_line":"order of nested collections elements."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"new method"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a6ced46_f395cae4","line":10,"updated":"2015-03-23 21:22:25.000000000","message":"typo: It\u0027s -\u003e Its","commit_id":"7608588d85c430bf965615d7ba9a18f31dd8ffc4"},{"author":{"_account_id":14819,"name":"Timofey Durakov","email":"timofei.nd@gmail.com","username":"tdurakov"},"change_message_id":"2eb96996226272536a76be97e861b3c970db5759","unresolved":false,"context_lines":[{"line_number":7,"context_line":"fixed test to work with random PYTHONHASHSEED"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"to compare objects, that contains nested collections new method"},{"line_number":10,"context_line":"assertJsonEqual was used. It\u0027s usage allows not to rely on constant"},{"line_number":11,"context_line":"order of nested collections elements."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"new method"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a6ced46_a02627cc","line":10,"in_reply_to":"1a6ced46_f395cae4","updated":"2015-03-26 06:59:21.000000000","message":"Done","commit_id":"7608588d85c430bf965615d7ba9a18f31dd8ffc4"},{"author":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"change_message_id":"ef7c75307104f53c0e32ad20f475da421b209d4b","unresolved":false,"context_lines":[{"line_number":11,"context_line":"order of nested collections elements."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"new method"},{"line_number":14,"context_line":"asserJsonEqual was used"},{"line_number":15,"context_line":"Partial-Bug: #1348818"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I0857d3793fb7fca7c5fde3b87dc187088cf965ac"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a6ced46_28ac51a0","line":14,"updated":"2015-03-23 20:47:32.000000000","message":"assertJsonEqual*","commit_id":"7608588d85c430bf965615d7ba9a18f31dd8ffc4"},{"author":{"_account_id":14819,"name":"Timofey Durakov","email":"timofei.nd@gmail.com","username":"tdurakov"},"change_message_id":"2eb96996226272536a76be97e861b3c970db5759","unresolved":false,"context_lines":[{"line_number":11,"context_line":"order of nested collections elements."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"new method"},{"line_number":14,"context_line":"asserJsonEqual was used"},{"line_number":15,"context_line":"Partial-Bug: #1348818"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I0857d3793fb7fca7c5fde3b87dc187088cf965ac"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a6ced46_c02323bb","line":14,"in_reply_to":"1a6ced46_28ac51a0","updated":"2015-03-26 06:59:21.000000000","message":"Done","commit_id":"7608588d85c430bf965615d7ba9a18f31dd8ffc4"}],"nova/tests/unit/scheduler/filters/test_trusted_filters.py":[{"author":{"_account_id":6802,"name":"Joel Coffman","email":"jmc7tp@gmail.com","username":"joel-coffman"},"change_message_id":"883811c7bdb97b909b4bec6aa5484ac3c42f69b8","unresolved":false,"context_lines":[{"line_number":241,"context_line":"        call_args \u003d list(req_mock.call_args[0])"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"        expected_call_args \u003d [\u0027POST\u0027, \u0027PollHosts\u0027, [\u0027node2\u0027, \u0027node1\u0027]]"},{"line_number":244,"context_line":"        self.assertJsonEqual(call_args, expected_call_args)"},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"    def test_trusted_filter_trusted_and_locale_formated_vtime_passes(self,"},{"line_number":247,"context_line":"            req_mock):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_d3552e1e","line":244,"updated":"2015-03-23 21:22:25.000000000","message":"Why is this preferable to assert_called_once_with? It seems like assert_called_once_with is significantly clearer and easier to read.","commit_id":"7608588d85c430bf965615d7ba9a18f31dd8ffc4"},{"author":{"_account_id":14819,"name":"Timofey Durakov","email":"timofei.nd@gmail.com","username":"tdurakov"},"change_message_id":"2eb96996226272536a76be97e861b3c970db5759","unresolved":false,"context_lines":[{"line_number":241,"context_line":"        call_args \u003d list(req_mock.call_args[0])"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"        expected_call_args \u003d [\u0027POST\u0027, \u0027PollHosts\u0027, [\u0027node2\u0027, \u0027node1\u0027]]"},{"line_number":244,"context_line":"        self.assertJsonEqual(call_args, expected_call_args)"},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"    def test_trusted_filter_trusted_and_locale_formated_vtime_passes(self,"},{"line_number":247,"context_line":"            req_mock):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_409c930f","line":244,"in_reply_to":"1a6ced46_d3552e1e","updated":"2015-03-26 06:59:21.000000000","message":"Joel, thanks for your question. Assert_called_once_with(), expect exact arguments as provided in params. So, for example if list items(\u0027node1\u0027, \u0027node2\u0027 in this case) differs in order assertion will fail. \nCurrent implementation, allows to call same things, as assertion.","commit_id":"7608588d85c430bf965615d7ba9a18f31dd8ffc4"}]}
