guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/24: gnu: python-django-appconf: Fix tests.


From: guix-commits
Subject: 08/24: gnu: python-django-appconf: Fix tests.
Date: Sun, 5 Dec 2021 08:16:25 -0500 (EST)

mbakke pushed a commit to branch core-updates-frozen
in repository guix.

commit 19520996f0401e9bc6f044dfa2435801d0f202de
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Dec 1 00:52:26 2021 +0100

    gnu: python-django-appconf: Fix tests.
    
    * gnu/packages/django.scm (python-django-appconf): Invoke django-admin with
    custom pythonpath.
---
 gnu/packages/django.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 116a398..c3af347 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -959,7 +959,7 @@ the order of added relations.")
                   (replace 'check
                     (lambda _
                       (setenv "DJANGO_SETTINGS_MODULE" "tests.test_settings")
-                      (invoke "python" "django-admin.py" "test" "-v2"))))))
+                      (invoke "django-admin" "test" "--pythonpath=."))))))
     (propagated-inputs
      `(("python-django" ,python-django)))
     (home-page "https://github.com/django-compressor/django-appconf";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]