def test_requestAvatarIdInvalidSignature(self):
        def _checkKey(ignored):
            return True
        self.patch(self.checker, 'checkKey', _checkKey)
        credentials = SSHPrivateKey('test', 'ssh-rsa', keydata.publicRSA_openssh,
                                    'foo', keys.Key.fromString(keydata.privateDSA_openssh).sign('foo'))
        d = self.checker.requestAvatarId(credentials)
        return self.assertFailure(d, UnauthorizedLogin)
Compare calculation against known value, if available
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/test/test_checkers.py/SSHPublicKeyDatabaseTestCase.test_requestAvatarIdInvalidSignature--crossover with--dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test__locale.py/_LocaleTests.numeric_tester