'L{ftp.BaseFTPRealm} returns an L{ftp.FTPAnonymousShell} instance for
anonymous avatar requests.'

def test_anonymous(self):

    anonymous = self.mktemp()
    realm = ftp.BaseFTPRealm(anonymous)
    (iface, avatar, logout) = realm.requestAvatar(checkers.ANONYMOUS, None, ftp.IFTPShell)
    self.assertIsInstance(avatar, ftp.FTPAnonymousShell)
    self.assertEqual(avatar.filesystemRoot, filepath.FilePath(anonymous))
