Archived
1
0
Fork 0

gnu: python-django-testing: Fix tests.

* gnu/packages/django.scm (python-django-tagging)[arguments]: Use custom
'check phase.
[inputs]: Add python-django.
This commit is contained in:
Efraim Flashner 2020-07-21 14:17:25 +03:00
parent 1c24d6d662
commit ba1c2e5b0d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

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