code: def test_abstract_name(db: SQLAlchemy) -> None:
      """Abstract model should not set a name. Subclass should set a name."""
  
      class Base(db.Model):
          __abstract__ = True
          id = sa.Column(sa.Integer, primary_key=True)
  
      class Duck(Base):
          pass
  
      assert "__tablename__" not in Base.__dict__
      assert Duck.__tablename__ == "duck"
  
imports: from __future__ import annotations
  import inspect
  import typing
  import pytest
  import sqlalchemy
  import sqlalchemy.exc
  import sqlalchemy.orm
  from flask_sqlalchemy import SQLAlchemy
  from flask_sqlalchemy.model import camel_to_snake_case
label_desc: Use image node_id 7 for calling a global function with example usage: test_abstract_name(db) without return types