#NEWLINE# def test_create_role_with_system_role_name( self ) : #NEWLINE# #INDENT# expected_msg = '"observer" role name is blacklisted' #NEWLINE# self . assertRaisesRegexp ( ValueError , expected_msg , rbac_services . create_role , name = SystemRole . OBSERVER )