code: def test_downloader_bad_query(urlpath=None, url=None):
      downloader = SHubDownloader()
      downloader.api_url = url
      with assert_raises(DownloadError):
          downloader.download("shub://org/repo", urlpath)
  
imports: from datalad.downloaders.shub import SHubDownloader
  from datalad.support.exceptions import DownloadError
  from datalad.tests.utils_pytest import assert_raises, ok_file_has_content, serve_path_via_http, with_tempfile
  from datalad.utils import Path, create_tree
label_desc: Use image node_id 1 for calling a global function with example usage: test_downloader_bad_query(urlpath, url) without return types