'L{endpoints.quoteStringArgument} should quote backslashes and colons
for interpolation into L{endpoints.serverFromString} and
L{endpoints.clientFactory} arguments.'

def test_quoteStringArgument(self):

    self.assertEqual(endpoints.quoteStringArgument('some    :    stuff    \\'), 'some    \\:    stuff    \\\\')
