code: def test_get_tables(client):
      # Get default mindsdb tables.
      response = client.get(
          "/api/databases/mindsdb/tables", follow_redirects=True
      )
      all_tables = response.get_json()
      assert any(db["name"] == "models" for db in all_tables)
      assert any(db["name"] == "models_versions" for db in all_tables)
  
imports: import os
  import pytest
  from tempfile import TemporaryDirectory
  from mindsdb.api.http.initialize import initialize_app
  from mindsdb.interfaces.storage import db
  from mindsdb.migrations import migrate
  from mindsdb.utilities.config import Config
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_tables(client) without return types