'Returns filename and remaining data striped of leading and trailing
spaces.'

def test_getFilenameNotQuoted(self):

    result = self.client._getFilename('    local        remote    file        ')
    self.assertEqual(('local', 'remote    file'), result)
