]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
remove metadata.bind use from test suite
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Dec 2020 15:22:43 +0000 (10:22 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 3 Jan 2021 18:22:29 +0000 (13:22 -0500)
commitfd3c063dd68b289814af724689165418de5e4408
tree3a13c1cd3bd58b8b5b88bc3294e491aca63ecf0b
parentdd41a5e61a30a2d05ee09f583fdfde1f1c204807
remove metadata.bind use from test suite

importantly this means we can remove bound metadata from
the fixtures that are used by Alembic's test suite.

hopefully this is the last one that has to happen to allow
Alembic to be fully 1.4/2.0.

Start moving from @testing.provide_metadata to a pytest
metadata fixture.  This does not seem to have any negative
effects even though TablesTest uses a "self.metadata" attribute.

Change-Id: Iae6ab95938a7e92b6d42086aec534af27b5577d3
50 files changed:
lib/sqlalchemy/dialects/postgresql/provision.py
lib/sqlalchemy/testing/assertions.py
lib/sqlalchemy/testing/engines.py
lib/sqlalchemy/testing/fixtures.py
lib/sqlalchemy/testing/pickleable.py
lib/sqlalchemy/testing/plugin/plugin_base.py
lib/sqlalchemy/testing/provision.py
lib/sqlalchemy/testing/suite/test_reflection.py
lib/sqlalchemy/testing/suite/test_types.py
lib/sqlalchemy/testing/util.py
lib/sqlalchemy/testing/warnings.py
test/aaa_profiling/test_memusage.py
test/aaa_profiling/test_resultset.py
test/dialect/mssql/test_engine.py
test/dialect/mssql/test_reflection.py
test/dialect/mssql/test_types.py
test/dialect/mysql/test_reflection.py
test/dialect/mysql/test_types.py
test/dialect/oracle/test_dialect.py
test/dialect/oracle/test_reflection.py
test/dialect/oracle/test_types.py
test/dialect/postgresql/test_dialect.py
test/dialect/postgresql/test_reflection.py
test/dialect/postgresql/test_types.py
test/dialect/test_sqlite.py
test/engine/test_ddlevents.py
test/engine/test_deprecations.py
test/engine/test_execute.py
test/engine/test_reflection.py
test/ext/declarative/test_reflection.py
test/ext/test_associationproxy.py
test/ext/test_automap.py
test/ext/test_deprecations.py
test/ext/test_horizontal_shard.py
test/ext/test_orderinglist.py
test/orm/declarative/test_basic.py
test/orm/declarative/test_mixin.py
test/orm/inheritance/_poly_fixtures.py
test/orm/test_bind.py
test/orm/test_compile.py
test/orm/test_lazy_relations.py
test/orm/test_mapper.py
test/orm/test_query.py
test/orm/test_relationships.py
test/orm/test_session.py
test/sql/test_constraints.py
test/sql/test_query.py
test/sql/test_quote.py
test/sql/test_sequences.py
test/sql/test_types.py