summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/django-otp/django-otp-1.1.3-r1.ebuild')
-rw-r--r--dev-python/django-otp/django-otp-1.1.3-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/django-otp/django-otp-1.1.3-r1.ebuild b/dev-python/django-otp/django-otp-1.1.3-r1.ebuild
index a4cbc4ab7d4e..4c9f4dfe0dad 100644
--- a/dev-python/django-otp/django-otp-1.1.3-r1.ebuild
+++ b/dev-python/django-otp/django-otp-1.1.3-r1.ebuild
@@ -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}"
}