'When passed a UNIX strports description specifying path as a positional
argument, L{endpoints.clientFromString} returns a L{UNIXClientEndpoint}
instance initialized with the values from the string.'

def test_unixPathPositionalArg(self):

    reactor = object()
    client = endpoints.clientFromString(reactor, 'unix:/var/foo/bar:lockfile=1:timeout=9')
    self.assertIsInstance(client, endpoints.UNIXClientEndpoint)
    self.assertIs(client._reactor, reactor)
    self.assertEqual(client._path, '/var/foo/bar')
    self.assertEqual(client._timeout, 9)
    self.assertTrue(client._checkPID)
