code: def test_get_databases(client):
      response = client.get("/api/databases", follow_redirects=True)
      all_databases = response.get_json()
      # Should contain default project and information schema.
      assert len(all_databases) == 2
      assert any(
          db["name"] == "information_schema" for db in all_databases
      )
      assert any(db["name"] == "mindsdb" for db in all_databases)
  
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_databases(client) without return types