def test_get_service_activities(self): students_service = export_utils_pdf.format_data( str(self.mandate.students_service), 'students_service') infrastructure_mgmt_service = export_utils_pdf.format_data( str(self.mandate.infrastructure_mgmt_service), 'infrastructure_mgmt_service') events_organisation_service = export_utils_pdf.format_data( str(self.mandate.events_organisation_service), 'events_organisation_service') publishing_field_service = export_utils_pdf.format_data( str(self.mandate.publishing_field_service), 'publishing_field_service') scientific_jury_service = export_utils_pdf.format_data( str(self.mandate.scientific_jury_service), 'scientific_jury_service') self.assertEqual( students_service + infrastructure_mgmt_service + events_organisation_service + publishing_field_service + scientific_jury_service, export_utils_pdf.get_service_activities(self.mandate))
def test_get_service_activities(self): students_service = export_utils_pdf.format_data( str(self.mandate.students_service), _('Information for future students (CIO, shows, Campus Days, Midi Masters,...)' )) infrastructure_mgmt_service = export_utils_pdf.format_data( str(self.mandate.infrastructure_mgmt_service), _('Management of collective facilities (lab, workshop, library, IT department, website,...)' )) events_organisation_service = export_utils_pdf.format_data( str(self.mandate.events_organisation_service), _("Organization of seminars, conferences, visits, study tours, grounds, seminars… (not taken in account in " "the 'Teaching units' section)")) publishing_field_service = export_utils_pdf.format_data( str(self.mandate.publishing_field_service), _('Activities in the field of publishing (editorial board,...)')) scientific_jury_service = export_utils_pdf.format_data( str(self.mandate.scientific_jury_service), _('Participation in juries and/or scientific committees')) self.assertEqual( students_service + infrastructure_mgmt_service + events_organisation_service + publishing_field_service + scientific_jury_service, export_utils_pdf.get_service_activities(self.mandate))