#NEWLINE# def test_committee_add_member_person( ) : #NEWLINE# #INDENT# c = Organization ( 'Defense' , classification = 'committee' ) #NEWLINE# p = Person ( 'John Adams' ) #NEWLINE# c . add_member ( p , role = 'chairman' ) #NEWLINE# assert ( c . _related [ 0 ] . person_id == p . _id ) #NEWLINE# assert ( c . _related [ 0 ] . organization_id == c . _id ) #NEWLINE# assert ( c . _related [ 0 ] . role == 'chairman' )