code: def test_create_drop_all(app: Flask) -> None:
      app.config["SQLALCHEMY_BINDS"] = {"a": "sqlite://"}
      db = SQLAlchemy(app)
  
      class User(db.Model):
          id = sa.Column(sa.Integer, primary_key=True)
  
      class Post(db.Model):
          __bind_key__ = "a"
          id = sa.Column(sa.Integer, primary_key=True)
  
      with pytest.raises(sa_exc.OperationalError):
          db.session.execute(sa.select(User)).scalars()
  
      with pytest.raises(sa_exc.OperationalError):
          db.session.execute(sa.select(Post)).scalars()
  
      db.create_all()
      db.session.execute(sa.select(User)).scalars()
      db.session.execute(sa.select(Post)).scalars()
      db.drop_all()
  
      with pytest.raises(sa_exc.OperationalError):
          db.session.execute(sa.select(User)).scalars()
  
      with pytest.raises(sa_exc.OperationalError):
          db.session.execute(sa.select(Post)).scalars()
  
imports: from __future__ import annotations
  import typing
  import pytest
  import sqlalchemy
  import sqlalchemy.exc
  import sqlalchemy.orm
  from flask import Flask
  from flask_sqlalchemy import SQLAlchemy
  from flask_sqlalchemy.model import DefaultMeta
  from flask_sqlalchemy.model import Model
label_desc: Use image node_id 9 for calling a global function with example usage: test_create_drop_all(app) without return types