code: def test_get_dataset(client):
      res = client.get("api/datasets")
      data = json.loads(res.data.decode("utf-8"))
  
      assert res.status == "200 OK"
      assert data.get("num_results") == 1
  
file_path: ATM/tests/api/test___init__.py
imports: import json
  import os
  import pytest
  from atm.api import create_app
  from atm.core import ATM
  from atm.database import Database
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_dataset(client) without return types