code: def test_no_store(path=None):
      ds = Dataset(path).create()
      # check that we fail without '--new-store-ok' when there is no store
      assert_result_count(
          ds.create_sibling_ria(
              "'ria+file:///no/where'", "datastore", on_failure="ignore"
          ),
          1,
          status="error",
      )
  
file_path: datalad/datalad/distributed/tests/test_create_sibling_ria.py
imports: import logging
  import os.path
  from functools import wraps
  from unittest.mock import patch
  from datalad import cfg
  from datalad.api import Dataset, clone
  from datalad.support.network import get_local_file_url
  from datalad.tests.utils_pytest import assert_false, assert_in, assert_raises, assert_repo_status, assert_result_count, assert_status, attr, chpwd, eq_, known_failure_githubci_win, ok_exists, skip_if_on_windows, skip_ssh, skip_wo_symlink_capability, slow, swallow_logs, with_tempfile, with_tree
  from datalad.utils import Path
label_desc: Use image node_id 9 for calling a global function with example usage: test_no_store(path) without return types