)]}'
{"nova/tests/unit/virt/libvirt/test_driver.py":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"cc66fdcc350e57f2a79cc0fefb9621210afbc92b","unresolved":false,"context_lines":[{"line_number":10648,"context_line":""},{"line_number":10649,"context_line":"        mock_build_device_metadata.return_value \u003d None"},{"line_number":10650,"context_line":"        injection_info \u003d get_injection_info("},{"line_number":10651,"context_line":"            network_info\u003dmock.sentinel.network_info,"},{"line_number":10652,"context_line":"            admin_pass\u003dmock.sentinel.admin_pass,"},{"line_number":10653,"context_line":"            files\u003dmock.sentinel.files"},{"line_number":10654,"context_line":"        )"}],"source_content_type":"text/x-python","patch_set":3,"id":"7ffa3b31_e983b055","side":"PARENT","line":10651,"updated":"2017-04-14 20:50:55.000000000","message":"Note that mock.sentinel.network_info is fine here. We aren\u0027t testing that the network_info parameter is the required type, but rather we\u0027re just testing that the network_info parameter is passed as-is to the nova.api.metadata.base.InstanceMetadata constructor in the driver\u0027s _create_configdrive() method. This is how we limit the depth of unit tests to the appropriate scope and only test the surface area of a single level of functionality.","commit_id":"486b90b24e9515678166d0b370e4daefe4e9e341"}]}
