def test_init(self):
        """
        Test that the PublicKey object is initialized correctly.
        """
        obj = keys.Key._fromRSAComponents(n=long(5), e=long(3))._keyObject
        key = keys.Key(obj)
        self.assertEqual(key._keyObject, obj)

        Test that the PublicKey object is initialized correctly.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_keys.py