1 |
commit: bc855bdc8f15d60b19b8b6ae5579c84fd747d2cc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 26 19:33:19 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 19:34:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc855bdc |
7 |
|
8 |
dev-python/django-otp: Fix running tests prior to install |
9 |
|
10 |
Closes: https://bugs.gentoo.org/834107 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/django-otp/django-otp-1.1.3-r1.ebuild | 3 ++- |
14 |
1 file changed, 2 insertions(+), 1 deletion(-) |
15 |
|
16 |
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 |
17 |
index a4cbc4ab7d4e..4c9f4dfe0dad 100644 |
18 |
--- a/dev-python/django-otp/django-otp-1.1.3-r1.ebuild |
19 |
+++ b/dev-python/django-otp/django-otp-1.1.3-r1.ebuild |
20 |
@@ -36,5 +36,6 @@ BDEPEND=" |
21 |
python_test() { |
22 |
local -x PYTHONPATH=test:${PYTHONPATH} |
23 |
local -x DJANGO_SETTINGS_MODULE=test_project.settings |
24 |
- django-admin test -v 2 django_otp || die "Tests fail with ${EPYTHON}" |
25 |
+ "${EPYTHON}" -m django test -v 2 django_otp || |
26 |
+ die "Tests fail with ${EPYTHON}" |
27 |
} |