)]}'
{"tests/v1_1/test_servers.py":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"2a4a499fbe1dd68565ba712acb916ff0e93451df","unresolved":false,"context_lines":[{"line_number":2,"context_line":""},{"line_number":3,"context_line":"import StringIO"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"import stubout"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"from novaclient import exceptions"},{"line_number":8,"context_line":"from novaclient.v1_1 import servers"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAMX%2F%2F7aU%3D","line":5,"updated":"2012-12-06 16:07:56.000000000","message":"novaclient does not pull in mox.  I would suggest using a mock-based approach; see http://www.voidspace.org.uk/python/mock/ for docs on mock.  (You would use the @patch decorators, which would eliminate the need to override setUp() and tearDown().)","commit_id":"4bd7135ff65d22f1b3689512dabdb997ea5cbe3c"},{"author":{"_account_id":1633,"name":"unmesh-gurjar","email":"unmesh.gurjar@hp.com","username":"unmesh-gurjar"},"change_message_id":"798b7db258149a276933598288d7967627170333","unresolved":false,"context_lines":[{"line_number":2,"context_line":""},{"line_number":3,"context_line":"import StringIO"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"import stubout"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"from novaclient import exceptions"},{"line_number":8,"context_line":"from novaclient.v1_1 import servers"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAMX%2F%2F6hU%3D","line":5,"in_reply_to":"AAAAMX%2F%2F7aU%3D","updated":"2012-12-07 12:39:38.000000000","message":"Done","commit_id":"4bd7135ff65d22f1b3689512dabdb997ea5cbe3c"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"ace981d9864d180f22f6fa331afcb060d1a512e3","unresolved":false,"context_lines":[{"line_number":63,"context_line":"            self.assertEqual(boot_kwargs[\u0027nics\u0027], nics)"},{"line_number":64,"context_line":"            return old_boot(url, key, *boot_args, **boot_kwargs)"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        @mock.patch.object(cs.servers, \u0027_boot\u0027, wrapped_boot)"},{"line_number":67,"context_line":"        def test_create_server_from_volume():"},{"line_number":68,"context_line":"            s \u003d cs.servers.create("},{"line_number":69,"context_line":"                name\u003d\"My server\","}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAMX%2F%2F6Yw%3D","line":66,"updated":"2012-12-07 16:15:10.000000000","message":"*shrug* not the way I would have done it (I would have used the context manager syntax for mock.patch instead, or decorated the whole function), but it should work fine…","commit_id":"99647e23a2e393bc7c176dd8b8f0f3f76ebb5103"}]}
