def test_export_for_special_issues(self): """Test the function to export subscriber list to send special issue""" subscriber = Subscriber() subscriber.lastname = 'toto' subscriber.hors_serie1 = 1 subscriber.hors_serie2 = 0 subscriber.hors_serie3 = 0 subscriber.save() subscriber = Subscriber() subscriber.lastname = 'tata' subscriber.hors_serie1 = 0 subscriber.hors_serie2 = 1 subscriber.hors_serie3 = 0 subscriber.save() self.exporter.do_export_special_issue() self.__test_presence_toto_tata()