class_docstr: A MappedTest pre-configured with a common set of fixtures.
class_docstr_tok: ["A","MappedTest","pre-configured","with","a","common","set","of","fixtures","."]
code: def define_tables(cls, metadata):
      Table(
          "users",
          metadata,
          Column(
              "id",
              Integer,
              primary_key=True,
              test_needs_autoincrement=True,
          ),
          Column("name", String(30), nullable=False),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "addresses",
          metadata,
          Column(
              "id",
              Integer,
              primary_key=True,
              test_needs_autoincrement=True,
          ),
          Column("user_id", None, ForeignKey("users.id")),
          Column("email_address", String(50), nullable=False),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "email_bounces",
          metadata,
          Column("id", Integer, ForeignKey("addresses.id")),
          Column("bounces", Integer),
      )
  
      Table(
          "orders",
          metadata,
          Column(
              "id",
              Integer,
              primary_key=True,
              test_needs_autoincrement=True,
          ),
          Column("user_id", None, ForeignKey("users.id")),
          Column("address_id", None, ForeignKey("addresses.id")),
          Column("description", String(30)),
          Column("isopen", Integer),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "dingalings",
          metadata,
          Column(
              "id",
              Integer,
              primary_key=True,
              test_needs_autoincrement=True,
          ),
          Column("address_id", None, ForeignKey("addresses.id")),
          Column("data", String(30)),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "has_dingaling",
          metadata,
          Column(
              "id",
              Integer,
              primary_key=True,
              test_needs_autoincrement=True,
          ),
          Column("dingaling_id", None, ForeignKey("dingalings.id")),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "items",
          metadata,
          Column(
              "id",
              Integer,
              primary_key=True,
              test_needs_autoincrement=True,
          ),
          Column("description", String(30), nullable=False),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "order_items",
          metadata,
          Column("item_id", None, ForeignKey("items.id")),
          Column("order_id", None, ForeignKey("orders.id")),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "keywords",
          metadata,
          Column(
              "id",
              Integer,
              primary_key=True,
              test_needs_autoincrement=True,
          ),
          Column("name", String(30), nullable=False),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "item_keywords",
          metadata,
          Column("item_id", None, ForeignKey("items.id")),
          Column("keyword_id", None, ForeignKey("keywords.id")),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "nodes",
          metadata,
          Column(
              "id",
              Integer,
              primary_key=True,
              test_needs_autoincrement=True,
          ),
          Column(
              "parent_id",
              Integer,
              ForeignKey("nodes.id"),
          ),
          Column("data", String(30)),
          test_needs_acid=True,
          test_needs_fk=True,
      )
  
      Table(
          "composite_pk_table",
          metadata,
          Column("i", Integer, primary_key=True),
          Column("j", Integer, primary_key=True),
          Column("k", Integer, nullable=False),
      )
  
imports: from sqlalchemy import ForeignKey
  from sqlalchemy import Integer
  from sqlalchemy import String
  from sqlalchemy import util
  from sqlalchemy.orm import backref
  from sqlalchemy.orm import configure_mappers
  from sqlalchemy.orm import relationship
  from sqlalchemy.testing import fixtures
  from sqlalchemy.testing.schema import Column
  from sqlalchemy.testing.schema import Table
label_desc: Use image node_id 3 for calling the FixtureTest obj's underlying member method code with example usage: obj.define_tables(cls, metadata) without return types