code: def test_create_dataset(db):
      train_url = DATA_URL + "pollution_1_train.csv"
      test_url = DATA_URL + "pollution_1_test.csv"
  
      train_path_local = _get_local_path(
          "pollution_test.csv", train_url, None
      )
      if os.path.exists(train_path_local):
          os.remove(train_path_local)
  
      test_path_local = _get_local_path(
          "pollution_test_test.csv", test_url, None
      )
      if os.path.exists(test_path_local):
          os.remove(test_path_local)
  
      atm = ATM(database=DB_PATH)
  
      dataset = atm.add_dataset(
          name="pollution_test",
          train_path=train_url,
          test_path=test_url,
          description="test",
          class_column="class",
      )
      dataset = db.get_dataset(dataset.id)
  
      (
          train,
          test,
      ) = dataset.load()  # This will create the test_path_local
  
      assert os.path.exists(train_path_local)
      assert os.path.exists(test_path_local)
  
      assert dataset.train_path == train_url
      assert dataset.test_path == test_url
      assert dataset.description == "test"
      assert dataset.class_column == "class"
      assert dataset.n_examples == 40
      assert dataset.d_features == 16
      assert dataset.k_classes == 2
      assert dataset.majority >= 0.5
  
      # remove test dataset
      if os.path.exists(train_path_local):
          os.remove(train_path_local)
  
      if os.path.exists(test_path_local):
          os.remove(test_path_local)
  
file_path: ATM/tests/test_core.py
imports: import os
  import pytest
  from atm.core import ATM
  from atm.data import _get_local_path
  from atm.database import Database
label_desc: Use image node_id 3 for calling a global function with example usage: test_create_dataset(db) without return types