def setUpClass(cls): super().setUpClass() import_holidays() site_consents.registry = {} site_consents.register(v1) site_visit_schedules._registry = {} site_visit_schedules.register(visit_schedule) Site.objects.create(id=10, name="edc", domain="edc.example.com")
def setUpClass(cls): add_or_update_django_sites(sites=[ SingleSite( settings.SITE_ID, "test_site", country_code="ug", country="uganda", domain="bugamba.ug.clinicedc.org", ) ]) import_holidays() return super().setUpClass()
def setUpTestData(cls): import_holidays() pre_save.disconnect(dispatch_uid="requires_consent_on_pre_save")
def setUpTestData(cls): import_holidays()
def setUpClass(cls): import_holidays() return super().setUpClass()