code: def test_add_data_db_http(self):
      # region create data db
      test_integration_data = self.postgres_db["connection_data"]
      test_integration_engine = self.postgres_db["type"]
  
      self.sql_via_http(
          f"""
                  CREATE DATABASE test_integration_a
                  ENGINE '{test_integration_engine}'
                  PARAMETERS {json.dumps(test_integration_data)}
              """,
          company_id=CID_A,
          expected_resp_type=RESPONSE_TYPE.OK,
      )
  
      databases_names_a = self.get_db_names(CID_A)
      self.assert_list(
          databases_names_a,
          {
              "information_schema",
              "mindsdb",
              "files",
              "test_integration_a",
          },
      )
  
      databases_names_b = self.get_db_names(CID_B)
      self.assert_list(
          databases_names_b, {"information_schema", "mindsdb", "files"}
      )
  
      self.sql_via_http(
          f"""
                  CREATE DATABASE test_integration_b
                  ENGINE '{test_integration_engine}'
                  PARAMETERS {json.dumps(test_integration_data)}
              """,
          company_id=CID_B,
          expected_resp_type=RESPONSE_TYPE.OK,
      )
  
      databases_names_a = self.get_db_names(CID_A)
      self.assert_list(
          databases_names_a,
          {
              "information_schema",
              "mindsdb",
              "files",
              "test_integration_a",
          },
      )
  
      databases_names_b = self.get_db_names(CID_B)
      self.assert_list(
          databases_names_b,
          {
              "information_schema",
              "mindsdb",
              "files",
              "test_integration_b",
          },
      )
      # endregion
  
      # region del data bd and create again
      self.sql_via_http(
          "DROP DATABASE test_integration_a",
          company_id=CID_A,
          expected_resp_type=RESPONSE_TYPE.OK,
      )
  
      databases_names_a = self.get_db_names(CID_A)
      self.assert_list(
          databases_names_a, {"information_schema", "mindsdb", "files"}
      )
  
      databases_names_b = self.get_db_names(CID_B)
      self.assert_list(
          databases_names_b,
          {
              "information_schema",
              "mindsdb",
              "files",
              "test_integration_b",
          },
      )
  
      self.sql_via_http(
          f"""
                  CREATE DATABASE test_integration_a
                  ENGINE '{test_integration_engine}'
                  PARAMETERS {json.dumps(test_integration_data)}
              """,
          company_id=CID_A,
          expected_resp_type=RESPONSE_TYPE.OK,
      )
  
      databases_names_a = self.get_db_names(CID_A)
      self.assert_list(
          databases_names_a,
          {
              "information_schema",
              "mindsdb",
              "files",
              "test_integration_a",
          },
      )
  
      databases_names_b = self.get_db_names(CID_B)
      self.assert_list(
          databases_names_b,
          {
              "information_schema",
              "mindsdb",
              "files",
              "test_integration_b",
          },
      )
      # endregion
  
      # region check tables
      for cid in [CID_A, CID_B]:
          tables = self.get_tables_in("mindsdb", cid)
          self.assert_list(
              tables,
              {
                  "jobs",
                  "jobs_history",
                  "models",
                  "models_versions",
                  "mdb_triggers",
                  "chatbots",
              },
          )
      # endregion
  
      # region cehck select from data db
      response = self.sql_via_http(
          "select * from test_integration_a.rentals limit 10",
          company_id=CID_A,
          expected_resp_type=RESPONSE_TYPE.TABLE,
      )
      assert len(response["data"]) == 10
  
      response = self.sql_via_http(
          "select * from test_integration_a.rentals limit 10",
          company_id=CID_B,
          expected_resp_type=RESPONSE_TYPE.ERROR,
      )
  
imports: from pathlib import Path
  import json
  import pytest
  from pymongo import MongoClient
  from mindsdb.api.executor.data_types.response_type import RESPONSE_TYPE
  from .conftest import CONFIG_PATH
  from .http_test_helpers import HTTPHelperMixin
label_desc: Use image node_id 7 for calling the TestCompanyIndependent obj's underlying member method code with example usage: obj.test_add_data_db_http() without return types