code: def test_init_dataset(self):
      name = random.sample([x for x in range(10)], 5)
      path = "~/.chronos/dataset"
      with pytest.raises(AssertionError):
          get_public_dataset(name, path=path, redownload=False)
  
      name = "nyc_taxi"
      path = random.sample([x for x in range(10)], 5)
      with pytest.raises(AssertionError):
          get_public_dataset(name, path=path, redownload=False)
  
      name = "chronos_dataset"
      path = "~/.chorons/dataset/"
      with pytest.raises(NameError):
          get_public_dataset(name, path=path, redownload=False)
  
file_path: analytics-zoo/pyzoo/test/zoo/chronos/data/test_repo_dataset.py
imports: import pytest
  import pandas
  import random
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.data.repo_dataset import get_public_dataset
label_desc: Use image node_id 3 for calling the TestRepoDataset obj's underlying member method code with example usage: obj.test_init_dataset() without return types