Merge branch 'master' into core-updates

This commit is contained in:
Marius Bakke 2017-12-05 23:41:30 +01:00
commit 77181815ae
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
185 changed files with 8324 additions and 2928 deletions

View file

@ -208,6 +208,26 @@ them do this.")
(base32
"1fslqc5qqb0b66yscvkyjwfv8cnbfx5nlkpnwimyb3pf1nc1w7r3"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
;; TODO: Tagging the tests requiring the web could be done upstream.
(add-before 'check 'skip-test-requiring-network-access
(lambda _
(substitute* "allauth/socialaccount/providers/openid/tests.py"
(("def test_login")
"from django.test import tag
@tag('requires-web')
def test_login"))))
(replace 'check
(lambda _
(setenv "DJANGO_SETTINGS_MODULE" "test_settings")
(zero? (system*
"django-admin"
"test"
"allauth"
"--verbosity=2"
"--exclude-tag=requires-web")))))))
(propagated-inputs
`(("python-openid" ,python-openid)
("python-requests" ,python-requests)