def make_full_submission(self, orgs, **answer_overrides): answers = get_answers_for_orgs( orgs, first_name="Hubert", contact_preferences=[ 'prefers_email', 'prefers_sms', 'prefers_voicemail', 'prefers_snailmail' ], email='*****@*****.**', phone_number='5554442222', ) answers.update(answer_overrides) return factories.FormSubmissionWithOrgsFactory.create( date_received=get_old_date(), anonymous_name="Cerulean Beetle", organizations=orgs, answers=answers)
def make_full_submission(self, orgs, **answer_overrides): applicant = models.Applicant() applicant.save() answers = mock.fake.all_county_answers( first_name="Hubert", contact_preferences=[ 'prefers_email', 'prefers_sms', 'prefers_voicemail', 'prefers_snailmail' ], email='*****@*****.**', phone_number='5554442222', ) answers.update(answer_overrides) return mock.FormSubmissionFactory.create( date_received=get_old_date(), anonymous_name="Cerulean Beetle", organizations=orgs, answers=answers, applicant=applicant)
def make_full_submission(self, orgs, **answer_overrides): answers = get_answers_for_orgs( orgs, first_name="Hubert", contact_preferences=[ 'prefers_email', 'prefers_sms', 'prefers_voicemail', 'prefers_snailmail' ], email='*****@*****.**', phone_number='5554442222', ) answers.update(answer_overrides) return factories.FormSubmissionWithOrgsFactory.create( date_received=get_old_date(), anonymous_name="Cerulean Beetle", organizations=orgs, answers=answers )