#NEWLINE# def test_multi_table_view_authorized( self ) : #NEWLINE# #INDENT# view = self . _prepare_view ( MultiTableView ) #NEWLINE# self . set_permissions ( permissions = [ 'test' ] ) #NEWLINE# context = view . get_context_data ( ) #NEWLINE# self . assertEqual ( MyTable , self [ 'my_table_table' ] . __class__ ) #NEWLINE# self . assertEqual ( TableWithPermissions , context [ 'table_with_permissions_table' ] . __class__ )