code: def test_invalid_call(path=None):
      ds = Dataset(path).create()
      # no API url given
      assert_raises(ValueError, ds.create_sibling_gogs, "bogus")
  
imports: from datalad.api import Dataset, create_sibling_gogs
  from datalad.tests.utils_pytest import assert_raises, skip_if_no_network, with_tempfile
  from .test_create_sibling_ghlike import check4real
label_desc: Use image node_id 1 for calling a global function with example usage: test_invalid_call(path) without return types