'Confirm evacuate scenario without shared storage
(rebuild from image)'

@mock.patch.object(fake.FakeDriver, 'spawn')
def test_rebuild_on_host_without_shared_storage(self, mock_spawn):

    self.stub_out('nova.virt.fake.FakeDriver.instance_on_disk', (lambda *a, **ka: False))
    self._rebuild(on_shared_storage=False)
    mock_spawn.assert_called_once_with(test.MatchType(context.RequestContext), test.MatchType(objects.Instance), test.MatchType(objects.ImageMeta), mock.ANY, 'newpass', network_info=mock.ANY, block_device_info=mock.ANY)
