commit: e94ba47f475fb4a991689a818d6095734f3edbcb Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> AuthorDate: Mon Sep 21 23:25:25 2020 +0000 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> CommitDate: Mon Sep 21 23:25:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e94ba47f
dev-python/alembic: 1.4.2 fix tests Closes: https://bugs.gentoo.org/743151 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> dev-python/alembic/alembic-1.4.2.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-python/alembic/alembic-1.4.2.ebuild b/dev-python/alembic/alembic-1.4.2.ebuild index 581f8570687..e014e8a0527 100644 --- a/dev-python/alembic/alembic-1.4.2.ebuild +++ b/dev-python/alembic/alembic-1.4.2.ebuild @@ -22,6 +22,7 @@ RDEPEND=">=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] dev-python/python-dateutil[${PYTHON_USEDEP}]" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] )" # For test phase @@ -35,7 +36,7 @@ python_prepare_all() { } python_test() { - ${EPYTHON} run_tests.py || die "Testing failed with ${EPYTHON}" + ${EPYTHON} -m pytest --dropfirst || die "Testing failed with ${EPYTHON}" } python_install_all() {