def test_NLSTNonexistent(self):
        """
        NLST on a non-existent file/directory returns nothing.
        """
        # Login
        d = self._anonymousLogin()

        self._download('NLST nonexistent.txt', chainDeferred=d)
        def checkDownload(download):
            self.assertEqual(b'', download)
        return d.addCallback(checkDownload)

        NLST on a non-existent file/directory returns nothing.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_ftp.py