def METHOD_NAME(self):
    class User(Base, ComparableEntity):
        __tablename__ = "users"
        __autoload_with__ = testing.db
        addresses = relationship("Address", backref="user")
    class Address(Base, ComparableEntity):
        __tablename__ = "addresses"
        __autoload_with__ = testing.db
    u1 = User(
        name="u1", addresses=[Address(email="one"), Address(email="two")]
    )
    sess = fixture_session()
    sess.add(u1)
    sess.flush()
    sess.expunge_all()
    eq_(
        sess.query(User).all(),
        [
            User(
                name="u1",
                addresses=[Address(email="one"), Address(email="two")],
            )
        ],
    )
    a1 = sess.query(Address).filter(Address.email == "two").one()
    eq_(a1, Address(email="two"))
    eq_(a1.user, User(name="u1"))