)]}'
{"nova/tests/unit/compute/test_compute.py":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"0cd0e0c0d4c6d15592a3da5ed852186d4d51ad75","unresolved":false,"context_lines":[{"line_number":11454,"context_line":""},{"line_number":11455,"context_line":"        def fake_terminate_connection(self, context, volume, connector):"},{"line_number":11456,"context_line":"            return {}"},{"line_number":11457,"context_line":"        self.stubs.Set(cinder.API, \"terminate_connection\","},{"line_number":11458,"context_line":"                       fake_terminate_connection)"},{"line_number":11459,"context_line":""},{"line_number":11460,"context_line":"        # make sure volumes attach, detach are called"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aa745d1_50819e49","line":11457,"updated":"2015-04-16 15:06:42.000000000","message":"This, above, if the unit test actually called cinder.API.terminate_connection(), would have been sufficient to produce an exception and reproduce the bug in question.... yet another reason I prefer mock over mox because it\u0027s more explicit IMO when you do something like:\n\n mock_terminate.assert_called_once_with(...)","commit_id":"337471bc71cbdabe6b492379c81470abac8040d2"}]}
