'When Unix shell globbing is used with NLST only files matching the
pattern will be returned.'

def test_nlstGlobbing(self):

    self.dirPath.child('test.txt').touch()
    self.dirPath.child('ceva.txt').touch()
    self.dirPath.child('no.match').touch()
    d = self._anonymousLogin()
    self._download('NLST    *.txt', chainDeferred=d)
    def checkDownload(download):
        filenames = download[:(-2)].split('\r\n')
        filenames.sort()
        self.assertEqual(['ceva.txt', 'test.txt'], filenames)
    return d.addCallback(checkDownload)
