class_docstr: Contais some helpful set of methods and attributes for tests execution.
class_docstr_tok: ["Contais","some","helpful","set","of","methods","and","attributes","for","tests","execution","."]
code: def validate_database_creation(self, db_data):
      ds_type = db_data["type"]
      res = self.query(
          "SELECT name FROM information_schema.databases WHERE name='{}';".format(
              ds_type.upper()
          )
      )
      assert "name" in res and res.get_record(
          "name", ds_type.upper()
      ), f"Expected datasource is not found after creation - {ds_type.upper()}: {res}"
  
imports: import os
  import time
  import tempfile
  import json
  from pathlib import Path
  import docker
  import pandas
  import requests
  import pytest
  from .conftest import docker_inet_ip, TEMP_DIR
label_desc: Use image node_id 7 for calling the BaseStuff obj's underlying member method code with example usage: obj.validate_database_creation(db_data) without return types