def test_isRSA1024BitKey_not_RSA(self):
        key = mock.Mock()
        key.type.return_value = OPENSSL_RSA_KEY_TYPE - 1
        key.bits.return_value = 1024

        self.assertFalse(connectionbuildtask._isRSA1024BitKey(key))
dataset/ETHPy150Open nskinkel/oppy/oppy/tests/unit/connection/test_connectionbuildtask.py/ConnectionBuildTaskTest.test_isRSA1024BitKey_not_RSA/original