]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
use SQLAlchemy's xdist methods
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Mar 2024 04:11:50 +0000 (23:11 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Mar 2024 04:39:07 +0000 (23:39 -0500)
commit6bdb9043868d4bd04ebe3fe8a4991735d5f87ed3
tree33b96cc94f8b433831d4d314f5bfaee385718863
parentc14bcd6f6514b1f3174098dfee9f8234dba1aea7
use SQLAlchemy's xdist methods

Fixes to support pytest 8.1 for the test suite.

the use of teardown() was based on pytest's nose
compat, which is removed.  their xdist style tests use the name
"setup_method()" and "teardown_method()" now.

We have SQLAlchemy's pytestplugin in use which uses pytest fixtures
to invoke our own xdist style setUp and tearDown methods, which we
are already using here, so use those for this one test.

Fixes: #1435
Change-Id: I4c49e81fca6bfa957594714009531fe12691ace5
docs/build/unreleased/1435.rst [new file with mode: 0644]
tests/test_command.py
tox.ini