Browse Source

gnu: python-django-testing: Fix tests.

* gnu/packages/django.scm (python-django-tagging)[arguments]: Use custom
'check phase.
[inputs]: Add python-django.
gn-latest-20200725
Efraim Flashner 1 year ago
parent
commit
ba1c2e5b0d
Signed by: efraim GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      gnu/packages/django.scm

+ 9
- 0
gnu/packages/django.scm View File

@ -1089,6 +1089,15 @@ higher quality while welcoming newcomers.")
(base32
"0s7b4v45j783yaxs7rni10k24san0ya77nqz4s7zdf3jhfpk42r1"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(setenv "DJANGO_SETTINGS_MODULE" "tagging.tests.settings")
(invoke "django-admin" "test" "--pythonpath=."))))))
(inputs
`(("python-django" ,python-django)))
(home-page "https://github.com/Fantomas42/django-tagging")
(synopsis "Generic tagging application for Django")
(description "This package provides a generic tagging application for


Loading…
Cancel
Save