#NEWLINE# def test_generate_key_pair_2048_bits( self ) : #NEWLINE# #INDENT# ( private_key , public_key , fingerprint ) = crypto . generate_key_pair ( ) #NEWLINE# pub_bytes = public_key . encode ( 'utf-8' ) #NEWLINE# pkey = serialization . load_ssh_public_key ( pub_bytes , backends . default_backend ( ) ) #NEWLINE# self . assertEqual ( 2048 , pkey . key_size )