def METHOD_NAME(fake_connection):
    fake_connection.response = FakeResponse(status=404, data=b'Not found')
    with pytest.raises(se.ImageDaemonError) as e:
        imagetickets.extend_ticket("uuid", 1)
    assert "Not found" in str(e.value)