code: def test_update_database_no_database_aborts(client):
      mindsdb_data = {
          "name": "test_postgres",
          "engine": "postgres",
          "parameters": {},
      }
      response = client.put(
          "/api/databases/test_postgres",
          json=mindsdb_data,
          follow_redirects=True,
      )
      assert "400" in response.status
  
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 12 for calling a global function with example usage: test_update_database_no_database_aborts(client) without return types