mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/sh: Run tests via pytest
Closes: https://bugs.gentoo.org/979404 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -19,9 +19,10 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local -x SH_TESTS_RUNNING=1
|
||||
eunittest -p "*_test.py"
|
||||
epytest
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user