def METHOD_NAME(monkeypatch):
    monkeypatch.setattr(imagetickets, "DAEMON_SOCK", __file__)
    con = FakeUnixHTTPConnection()
    monkeypatch.setattr(imagetickets, "UnixHTTPConnection", con)
    return con