def test_load(self): site_auths.initialize() AuthUpdater.add_empty_groups_for_tests(EXPORT) AuthUpdater.add_empty_roles_for_tests(TMG_ROLE, DATA_MANAGER_ROLE, SITE_DATA_MANAGER_ROLE) import_module(f"edc_action_item.auths") AuthUpdater(verbose=True)
def test_load(self): # import_module("edc_dashboard.auths") import_module("edc_navbar.auths") # import_module("edc_data_manager.auths") # import_module("edc_lab.auths") import_module("edc_adverse_event.auths") AuthUpdater.add_empty_groups_for_tests(EXPORT) AuthUpdater.add_empty_roles_for_tests(DATA_MANAGER_ROLE, SITE_DATA_MANAGER_ROLE) AuthUpdater(verbose=True)