def pull_roots(service_url, print_services=True): """ Pulls gLS from roots hints """ if not service_url: service_url = settings.GLS_ROOT_HINTS try: pull_root_hints(service_url, print_services) except Exception as exp: raise CommandError(exp)
def tes_pull_root_hints(self): roots = pull_root_hints() self.assertEqual(type(roots), list)