)]}'
{"openstack/tests/unit/cloud/test_task_manager.py":[{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"d29d98ed0b67b65c41942130fdcd7883df135c98","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        self.assertTrue(mock_submit.called)"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    def test_pre_post_calls(self):"},{"line_number":110,"context_line":"        with mock.patch.object(self.manager, \u0027pre_run_task\u0027) as mock_pre, \\"},{"line_number":111,"context_line":"             mock.patch.object(self.manager, \u0027post_run_task\u0027) as mock_post:"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"            self.manager.submit_function(lambda: None)"},{"line_number":114,"context_line":"            mock_pre.assert_called_once()"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_7ddd40dc","line":111,"range":{"start_line":110,"start_character":0,"end_line":111,"end_character":75},"updated":"2018-10-26 13:39:22.000000000","message":"The other stuff uses the @mock.patch.object decorator form instead. However, TIL that you can do a list of context managers ...","commit_id":"659e79442f6170ef93c13bd6b594706fc059a498"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"d57b40b66538928025c1fd1f877f751a19450387","unresolved":false,"context_lines":[{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    @mock.patch.object(task_manager.TaskManager, \u0027post_run_task\u0027)"},{"line_number":117,"context_line":"    @mock.patch.object(task_manager.TaskManager, \u0027pre_run_task\u0027)"},{"line_number":118,"context_line":"    def test_validate_timing(self, mock_pre, mock_post):"},{"line_number":119,"context_line":"        # Note the unit test setup has mocked out time.sleep() and"},{"line_number":120,"context_line":"        # done a * 0.0001, and the test should be under the 5"},{"line_number":121,"context_line":"        # second timeout.  Thus with below, we should see at"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_13dd14dd","line":118,"updated":"2018-10-26 20:44:02.000000000","message":"I don\u0027t mind if this is default skipped -- I really just wanted to make sure the elapsed_time was being captured","commit_id":"dd5f0f68274df4106902aa71a3f882d70c673dab"}],"tox.ini":[{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"d29d98ed0b67b65c41942130fdcd7883df135c98","unresolved":false,"context_lines":[{"line_number":97,"context_line":"# W503 Is supposed to be off by default but in the latest pycodestyle isn\u0027t."},{"line_number":98,"context_line":"#      Also, both openstacksdk and Donald Knuth disagree with the rule. Line"},{"line_number":99,"context_line":"#      breaks should occur before the binary operator for readability."},{"line_number":100,"context_line":"# E126 (continuation line over-indented for hanging-indent) doesn\u0027t handle"},{"line_number":101,"context_line":"#      perfectly logical multiple \"with\" statements; e.g."},{"line_number":102,"context_line":"#      with open(foo) as f, \\"},{"line_number":103,"context_line":"#           open(bar) as g:"},{"line_number":104,"context_line":"#      see: https://github.com/PyCQA/pycodestyle/issues/316"},{"line_number":105,"context_line":"ignore \u003d H306,H4,W503,E126"},{"line_number":106,"context_line":"show-source \u003d True"},{"line_number":107,"context_line":"exclude\u003d.venv,.git,.tox,dist,doc,*lib/python*,*egg,build"}],"source_content_type":"text/x-properties","patch_set":3,"id":"3f79a3b5_7d48e0b2","line":104,"range":{"start_line":100,"start_character":0,"end_line":104,"end_character":59},"updated":"2018-10-26 13:39:22.000000000","message":"There\u0027s another way to do the thing that trips this up, so I\u0027d prefer not to lose E126 completely.","commit_id":"659e79442f6170ef93c13bd6b594706fc059a498"}]}
