code: def get_test_providers(url=None, reload=False):
      """Return reusable instance of our global providers + verify credentials for url"""
      _test_providers = Providers.from_config_files(reload=reload)
      if url is not None:
          # check if we have credentials for the url
          provider = _test_providers.get_provider(
              url, only_nondefault=True
          )
          if provider is None or provider.credential is None:
              # no registered provider, or no credential needed,must be all kosher to access
              pass
          elif not provider.credential.is_known:
              raise SkipTest(
                  "This test requires known credentials for %s"
                  % provider.credential.name
              )
      return _test_providers
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_test_providers(url, reload) and returns: _test_providers