human
Complete this python program:
def build_UNIX_integration_tests(mixin_class, name, fixture):
assistant
#Here is the Python code you requested.

    """Build ``AsyncTestCase`` class that runs the tests in the mixin class with
    real queries over a UNIX socket.
    :param mixin_class: A mixin class for ``AsyncTestCase`` that relies on
    having a ``self.scenario``.
    :param name: A ``str``, the name of the test category.
    :param fixture: A callable that takes a ``AsyncTestCase`` and returns a
    ``klein.Klein`` object.
    :return: A L``AsyncTestCase`` class.
    """
    class RealTests(mixin_class, AsyncTestCase, ):
        '\n                                Tests    that    endpoints    are    available    over    the    network    interfaces    that\n                                real    API    users    will    be    connecting    from.\n                                '
        def setUp(self):
            path = os.path.relpath(self.mktemp())
            self.app = fixture(self)
            self.port = reactor.listenUNIX(path, Site(self.app.resource()))
            self.addCleanup(self.port.stopListening)
            self.agent = ProxyAgent(UNIXClientEndpoint(reactor, path), reactor)
            super(RealTests, self).setUp()
    RealTests.__name__ += name
    RealTests.__module__ = mixin_class.__module__
    return RealTests