#NEWLINE# def test_MarketProfile_add_pgp_key_success( self ) : #NEWLINE# #INDENT# p = Profile ( self . db ) #NEWLINE# self . assertTrue ( p . add_pgp_key ( self . PUBLIC_KEY , u . SIGNATURE , self . VALID_GUID ) ) #NEWLINE# u = p . get ( ) #NEWLINE# self . assertEqual ( self . SIGNATURE , u . pgp_key . signature ) #NEWLINE# self . assertEqual ( self . PUBLIC_KEY , u . pgp_key . public_key )