'L{ftp.FTPClient.makeDirectory} escapes the path name it sends according
to U{http://cr.yp.to/ftp/filesystem.html}.'

def test_makeDirectoryPathEscape(self):

    self._testLogin()
    d = self.client.makeDirectory('/sp\nam')
    self.assertEqual(self.transport.value(), 'MKD    /sp\x00am\r\n')
    self.client.lineReceived('257    win')
    return d
