)]}'
{"nova/tests/hyperv/README.rst":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"c3fa9ae7809a1f903b099ba2d7f84862434878ac","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"1) Dynamic mock generation."},{"line_number":14,"context_line":"2) Decoupling. No dependencies on WMI or any other module."},{"line_number":15,"context_line":"3) Work with any OS dependent (e.g. wmi, os, subprocess) or"},{"line_number":16,"context_line":"    non deterministic (e.g. time, uuid) modules."},{"line_number":17,"context_line":"4) Transparency. Mocks and real objects need to be swapped via DI"},{"line_number":18,"context_line":"    or monkey patching."}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAMH%2F%2F%2B3w%3D","line":15,"updated":"2012-11-13 00:01:27.000000000","message":"s/Work/Works/\ns/with/without/","commit_id":"5257127a0d8f65f10db57cd6e19d8fc616eac119"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"c3fa9ae7809a1f903b099ba2d7f84862434878ac","unresolved":false,"context_lines":[{"line_number":14,"context_line":"2) Decoupling. No dependencies on WMI or any other module."},{"line_number":15,"context_line":"3) Work with any OS dependent (e.g. wmi, os, subprocess) or"},{"line_number":16,"context_line":"    non deterministic (e.g. time, uuid) modules."},{"line_number":17,"context_line":"4) Transparency. Mocks and real objects need to be swapped via DI"},{"line_number":18,"context_line":"    or monkey patching."},{"line_number":19,"context_line":"5) Platform independency."},{"line_number":20,"context_line":"6) Tests need to be executed against the real object or against the mocks"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAMH%2F%2F%2B3g%3D","line":17,"updated":"2012-11-13 00:01:27.000000000","message":"s/need/can/","commit_id":"5257127a0d8f65f10db57cd6e19d8fc616eac119"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"c3fa9ae7809a1f903b099ba2d7f84862434878ac","unresolved":false,"context_lines":[{"line_number":16,"context_line":"    non deterministic (e.g. time, uuid) modules."},{"line_number":17,"context_line":"4) Transparency. Mocks and real objects need to be swapped via DI"},{"line_number":18,"context_line":"    or monkey patching."},{"line_number":19,"context_line":"5) Platform independency."},{"line_number":20,"context_line":"6) Tests need to be executed against the real object or against the mocks"},{"line_number":21,"context_line":"    with a simple configuration switch. Development efforts can highly"},{"line_number":22,"context_line":"    benefit from this feature."}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAMH%2F%2F%2B3s%3D","line":19,"updated":"2012-11-13 00:01:27.000000000","message":"s/independency/independent/","commit_id":"5257127a0d8f65f10db57cd6e19d8fc616eac119"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"c3fa9ae7809a1f903b099ba2d7f84862434878ac","unresolved":false,"context_lines":[{"line_number":17,"context_line":"4) Transparency. Mocks and real objects need to be swapped via DI"},{"line_number":18,"context_line":"    or monkey patching."},{"line_number":19,"context_line":"5) Platform independency."},{"line_number":20,"context_line":"6) Tests need to be executed against the real object or against the mocks"},{"line_number":21,"context_line":"    with a simple configuration switch. Development efforts can highly"},{"line_number":22,"context_line":"    benefit from this feature."},{"line_number":23,"context_line":"7) It must be possible to change a mock\u0027s behavior without running the tests"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAMH%2F%2F%2B3c%3D","line":20,"updated":"2012-11-13 00:01:27.000000000","message":"s/need/can/","commit_id":"5257127a0d8f65f10db57cd6e19d8fc616eac119"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"c3fa9ae7809a1f903b099ba2d7f84862434878ac","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    with a simple configuration switch. Development efforts can highly"},{"line_number":22,"context_line":"    benefit from this feature."},{"line_number":23,"context_line":"7) It must be possible to change a mock\u0027s behavior without running the tests"},{"line_number":24,"context_line":"    againts the hypervisor (e.g. by manually adding a value / return value)."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"The tests included in this package include dynamically generated mock objects,"},{"line_number":27,"context_line":"based on the recording of the attribute values and invocations on the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAMH%2F%2F%2B3Y%3D","line":24,"updated":"2012-11-13 00:01:27.000000000","message":"s/againts/against/","commit_id":"5257127a0d8f65f10db57cd6e19d8fc616eac119"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"c3fa9ae7809a1f903b099ba2d7f84862434878ac","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    againts the hypervisor (e.g. by manually adding a value / return value)."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"The tests included in this package include dynamically generated mock objects,"},{"line_number":27,"context_line":"based on the recording of the attribute values and invocations on the"},{"line_number":28,"context_line":"real WMI objects and other OS dependent features."},{"line_number":29,"context_line":"The generated mock objects are serialized in the nova/tests/hyperv/stubs"},{"line_number":30,"context_line":"directory as gzipped pickled objects."}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAMH%2F%2F%2B3U%3D","line":27,"updated":"2012-11-13 00:01:27.000000000","message":"s/based on the/based on/","commit_id":"5257127a0d8f65f10db57cd6e19d8fc616eac119"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"c3fa9ae7809a1f903b099ba2d7f84862434878ac","unresolved":false,"context_lines":[{"line_number":29,"context_line":"The generated mock objects are serialized in the nova/tests/hyperv/stubs"},{"line_number":30,"context_line":"directory as gzipped pickled objects."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"An environment variable is controlling the execution mode of the tests."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Recording mode:"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAMH%2F%2F%2B3Q%3D","line":32,"updated":"2012-11-13 00:01:27.000000000","message":"s/is controlling/controls/","commit_id":"5257127a0d8f65f10db57cd6e19d8fc616eac119"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"c3fa9ae7809a1f903b099ba2d7f84862434878ac","unresolved":false,"context_lines":[{"line_number":55,"context_line":"the get_mock() method. A mock is represented by an instance of the"},{"line_number":56,"context_line":"nova.tests.hyperv.mockproxy.Mock class."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"The Mock class task consists in replicating the behaviour of the mocked"},{"line_number":59,"context_line":"objects / modules by returning the same values in the same order, for example:"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"def check_path(path):"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAMH%2F%2F%2B3M%3D","line":58,"updated":"2012-11-13 00:01:27.000000000","message":"s/in/of/","commit_id":"5257127a0d8f65f10db57cd6e19d8fc616eac119"}]}
