mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-django-extensions: Enable tests.
* gnu/packages/django.scm (python-django-extensions)[arguments]: Remove '#:tests? #f'. <#:test-flags>: Ignore failing tests. [native-inputs]: Add python-aiosmtpd, python-pygments. Change-Id: Ibf4e76f1714b97d9ba6184f4f08bca851c52f78d
This commit is contained in:
parent
ed0ee73116
commit
0d2030014d
1 changed files with 14 additions and 3 deletions
|
@ -45,6 +45,7 @@
|
||||||
#:use-module (gnu packages check)
|
#:use-module (gnu packages check)
|
||||||
#:use-module (gnu packages finance)
|
#:use-module (gnu packages finance)
|
||||||
#:use-module (gnu packages geo)
|
#:use-module (gnu packages geo)
|
||||||
|
#:use-module (gnu packages mail)
|
||||||
#:use-module (gnu packages openldap)
|
#:use-module (gnu packages openldap)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
#:use-module (gnu packages python-build)
|
#:use-module (gnu packages python-build)
|
||||||
|
@ -245,13 +246,23 @@ and adapters that are useful for non-trivial configuration scenarios.")
|
||||||
(base32 "1qayan9za7ylvzkwp6p0l0735gavnzd1kdjsfc178smq6xnby0ss"))))
|
(base32 "1qayan9za7ylvzkwp6p0l0735gavnzd1kdjsfc178smq6xnby0ss"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f)) ;XXX: requires a Postgres or MySQL database
|
(list
|
||||||
|
;; The 5 tests in test_dumbscript.py fail (OperationalError).
|
||||||
|
#:test-flags
|
||||||
|
#~(list "--ignore" "tests/test_dumpscript.py"
|
||||||
|
"-k" (string-append
|
||||||
|
;; These fail for unknown reasons.
|
||||||
|
"not test_do_export_emails_format_vcard_start"
|
||||||
|
" and not test_initialize_runserver_plus"
|
||||||
|
" and not test_should_highlight_python_syntax_with_name"))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-django))
|
(list python-django))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-factory-boy
|
(list python-aiosmtpd
|
||||||
|
python-factory-boy
|
||||||
|
python-pygments
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-cov
|
python-pytest-cov ; runs by default
|
||||||
python-pytest-django
|
python-pytest-django
|
||||||
python-setuptools-next
|
python-setuptools-next
|
||||||
python-shortuuid
|
python-shortuuid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue