mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/django-otp: Fix running tests prior to install
Closes: https://bugs.gentoo.org/834107 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -36,5 +36,6 @@ BDEPEND="
|
||||
python_test() {
|
||||
local -x PYTHONPATH=test:${PYTHONPATH}
|
||||
local -x DJANGO_SETTINGS_MODULE=test_project.settings
|
||||
django-admin test -v 2 django_otp || die "Tests fail with ${EPYTHON}"
|
||||
"${EPYTHON}" -m django test -v 2 django_otp ||
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user