def test_LISTEmpty(self):
        """
        When listing empty folders, LIST returns an empty response.
        """
        d = self._anonymousLogin()

        # No files, so the file listing should be empty
        self._download('LIST', chainDeferred=d)
        def checkEmpty(result):
            self.assertEqual(b'', result)
        return d.addCallback(checkEmpty)

        When listing empty folders, LIST returns an empty response.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_ftp.py