#NEWLINE# def test_Permission_init( app , ismember ) : #NEWLINE# #INDENT# allows = Allows ( app = p ) #NEWLINE# with app . app_context ( ) : #NEWLINE# #INDENT# p = Permission ( ismember ) #NEWLINE# #UNINDENT# assert ( ( p . ext is allows ) and ( p . requirements == ( ismember , ) ) and ( p . throws is Forbidden ) and ( p . identity is None ) )