#NEWLINE# def test_ctor_view_with_role( self ) : #NEWLINE# #INDENT# role = 'READER' #NEWLINE# entity_type = 'view' #NEWLINE# with self . assertRaises ( ValueError ) : #NEWLINE# #INDENT# self . _makeOne ( role , role , None )