def setUp(self): self._call = database_population.create_call() self._call_part = database_population.create_call_part(self._call) self._call_part_question = database_population.create_call_question( self._call_part) self._client_management = database_population.create_management_logged_client( )
def setUp(self): self._funding_instrument = project_core_database_population.create_funding_instrument( ) self._call = project_core_database_population.create_call( self._funding_instrument) database_population.delete_all_variables() database_population.create_default_template_variables()
def setUp(self): self._call = database_population.create_call() call_part, created = CallPart.objects.get_or_create(call=self._call, order=1, title='Weather', introductory_text='Weather related questions') template_questions = database_population.create_template_questions() CallQuestion.objects.get_or_create(call_part=call_part, template_question=template_questions[0], order=10) self._geographical_areas = database_population.create_geographical_areas() self._keywords = database_population.create_keywords() self._proposal_status_submitted = database_population.create_proposal_status()[0]
def setUp(self): self._call = database_population.create_call() self._budget_categories = database_population.create_budget_categories( ) self._person_titles = database_population.create_person_titles() self._genders = database_population.create_genders() self._organisations = database_population.create_organisations() self._organisation_names = database_population.create_organisation_names( ) self._geographical_areas = database_population.create_geographical_areas( ) self._keywords = database_population.create_keywords() self._career_stage = database_population.create_career_stage() self._role = database_population.create_roles()[0] database_population.create_proposal_status() database_population_variable_templates.create_default_template_variables( )
def setUp(self): self._call = database_population.create_call() self._call_part = database_population.create_call_part(self._call)
def setUp(self): self._call = database_population.create_call() self._user = database_population.create_management_user() self._client_management = database_population.create_management_logged_client()
def setUp(self): self._call = database_population.create_call() self._template_questions = database_population.create_template_questions( )
def setUp(self): self._call = database_population.create_call() self._funding_instrument = self._call.funding_instrument