Beispiel #1
0
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)
Beispiel #2
0
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)
Beispiel #3
0
 def tes_pull_root_hints(self):
     roots = pull_root_hints()
     self.assertEqual(type(roots), list)