def test_get_representation_activities(self): faculty_representation = export_utils_pdf.format_data( str(self.mandate.faculty_representation), 'faculty_representation') institute_representation = export_utils_pdf.format_data( str(self.mandate.institute_representation), 'institute_representation') sector_representation = export_utils_pdf.format_data( str(self.mandate.sector_representation), 'sector_representation') governing_body_representation = export_utils_pdf.format_data( str(self.mandate.governing_body_representation), 'governing_body_representation') corsci_representation = export_utils_pdf.format_data( str(self.mandate.corsci_representation), 'corsci_representation') self.assertEqual( faculty_representation + institute_representation + sector_representation + governing_body_representation + corsci_representation, export_utils_pdf.get_representation_activities(self.mandate))
def test_get_representation_activities(self): faculty_representation = export_utils_pdf.format_data( str(self.mandate.faculty_representation), _('Within the faculty (program committees, faculty board, faculty council)' )) institute_representation = export_utils_pdf.format_data( str(self.mandate.institute_representation), _('Within the institute (institute board, institute council,...)')) sector_representation = export_utils_pdf.format_data( str(self.mandate.sector_representation), _('Within the sector (board and/or council)')) governing_body_representation = export_utils_pdf.format_data( str(self.mandate.governing_body_representation), _('Within the organs of the University (academic council, other councils or commissions,...)' )) corsci_representation = export_utils_pdf.format_data( str(self.mandate.corsci_representation), _('Within the CORSCI')) self.assertEqual( faculty_representation + institute_representation + sector_representation + governing_body_representation + corsci_representation, export_utils_pdf.get_representation_activities(self.mandate))