def setUp(self): super(TestProjectStatusUpdate, self).setUp() self.init_projects() self.theme = ProjectThemeFactory(slug='test-theme') self.project = ProjectFactory(theme=self.theme) self.task = TaskFactory(project=self.project) self.survey = SurveyFactory(link='https://example.com/survey/1/', active=True)
def setUp(self): super(TestSurveyGizmoAdapter, self).setUp() self.init_projects() self.theme = ProjectThemeFactory(slug='test-theme') self.project = ProjectFactory() self.task = TaskFactory(project=self.project) self.survey = SurveyFactory(remote_id='test-id', last_synced=timezone.now())