]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
remove more bound metadata
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Jan 2021 20:18:25 +0000 (15:18 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 Jan 2021 04:46:02 +0000 (23:46 -0500)
commit6fccdf4a285d5332ef49f23dc18c3ce45501d78b
treed276e13e8960f00dc088c40908e4991248cc8639
parent640cd8a70f8a664b7834c5f74ec322fdea644043
remove more bound metadata

in Iae6ab95938a7e92b6d42086aec534af27b5577d3 I missed
that the "bind" was being stuck onto the MetaData in
TablesTest, which led thousands of ORM tests to still use
bound metadata.  Keep looking for bound metadata.

standardize all ORM tests on a single means of getting a
Session when the Session API isn't the thing we are directly
testing, using a new function fixture_session() that replaces
create_session() and uses modern defaults.

Change-Id: Iaf71206e9ee568151496d8bc213a069504bf65ef
98 files changed:
lib/sqlalchemy/sql/schema.py
lib/sqlalchemy/testing/fixtures.py
lib/sqlalchemy/testing/suite/test_rowcount.py
lib/sqlalchemy/testing/warnings.py
test/aaa_profiling/test_memusage.py
test/aaa_profiling/test_orm.py
test/aaa_profiling/test_resultset.py
test/dialect/mssql/test_query.py
test/dialect/oracle/test_types.py
test/engine/test_deprecations.py
test/engine/test_pool.py
test/ext/declarative/test_inheritance.py
test/ext/test_associationproxy.py
test/ext/test_baked.py
test/ext/test_hybrid.py
test/ext/test_mutable.py
test/ext/test_serializer.py
test/orm/declarative/test_basic.py
test/orm/declarative/test_concurrency.py
test/orm/declarative/test_inheritance.py
test/orm/declarative/test_mixin.py
test/orm/declarative/test_reflection.py
test/orm/inheritance/test_abc_inheritance.py
test/orm/inheritance/test_abc_polymorphic.py
test/orm/inheritance/test_assorted_poly.py
test/orm/inheritance/test_basic.py
test/orm/inheritance/test_concrete.py
test/orm/inheritance/test_magazine.py
test/orm/inheritance/test_manytomany.py
test/orm/inheritance/test_poly_linked_list.py
test/orm/inheritance/test_poly_loading.py
test/orm/inheritance/test_poly_persistence.py
test/orm/inheritance/test_polymorphic_rel.py
test/orm/inheritance/test_productspec.py
test/orm/inheritance/test_relationship.py
test/orm/inheritance/test_selects.py
test/orm/inheritance/test_single.py
test/orm/inheritance/test_with_poly.py
test/orm/test_ac_relationships.py
test/orm/test_association.py
test/orm/test_assorted_eager.py
test/orm/test_backref_mutations.py
test/orm/test_bind.py
test/orm/test_bulk.py
test/orm/test_bundle.py
test/orm/test_cache_key.py
test/orm/test_cascade.py
test/orm/test_collection.py
test/orm/test_compile.py
test/orm/test_composites.py
test/orm/test_core_compilation.py
test/orm/test_cycles.py
test/orm/test_default_strategies.py
test/orm/test_defaults.py
test/orm/test_deferred.py
test/orm/test_deprecations.py
test/orm/test_dynamic.py
test/orm/test_eager_relations.py
test/orm/test_evaluator.py
test/orm/test_events.py
test/orm/test_expire.py
test/orm/test_froms.py
test/orm/test_generative.py
test/orm/test_hasparent.py
test/orm/test_immediate_load.py
test/orm/test_inspect.py
test/orm/test_instrumentation.py
test/orm/test_joins.py
test/orm/test_lambdas.py
test/orm/test_lazy_relations.py
test/orm/test_loading.py
test/orm/test_lockmode.py
test/orm/test_manytomany.py
test/orm/test_mapper.py
test/orm/test_merge.py
test/orm/test_naturalpks.py
test/orm/test_of_type.py
test/orm/test_onetoone.py
test/orm/test_options.py
test/orm/test_pickled.py
test/orm/test_query.py
test/orm/test_relationships.py
test/orm/test_scoping.py
test/orm/test_selectable.py
test/orm/test_selectin_relations.py
test/orm/test_session.py
test/orm/test_subquery_relations.py
test/orm/test_sync.py
test/orm/test_transaction.py
test/orm/test_unitofwork.py
test/orm/test_unitofworkv2.py
test/orm/test_update_delete.py
test/orm/test_utils.py
test/orm/test_validators.py
test/orm/test_versioning.py
test/sql/test_functions.py
test/sql/test_query.py
test/sql/test_sequences.py