diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-21 00:28:54 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:40 +0100 |
| commit | f6c1810249bcf79cc2b6bafd4ae7a0828682f635 (patch) | |
| tree | d0fbd7883b3551f69567ca011268d0c68df4623d /gnu | |
| parent | 9f6cab4e9aa66fa0395cd263544a1283c12f5207 (diff) | |
gnu: python-lazr-restfulclient: Fix tests.
* gnu/packages/python-web.scm (python-lazr-restfulclient):
[arguments]<#:phases>: Replace 'check phase.
[propagated-inputs]: Add python-six, which is still used in the package.
Change-Id: Ie8e272034f3fc747584f4500cf00a3a9b2e867bf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 79252136773..be809514040 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -991,18 +991,26 @@ datasets and other repos on the @url{huggingface.co} hub.") (for-each delete-file '("test_oauth.py" "test_docs.py"))) (substitute* "setup.py" (("\"(oauth|lazr\\.(authentication|restful>=0\\.11\\.0))\",") - ""))))))) - (native-inputs (list python-setuptools - python-testtools - python-wheel - python-wsgi-intercept - python-zope-testrunner)) - (propagated-inputs (list python-distro - python-httplib2 - python-oauthlib - python-pyparsing - python-setuptools - python-wadllib)) + "")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "zope-testrunner" "--test-path=src") + (format #t "test suite not run~%"))))))) + (native-inputs + (list python-setuptools + python-testtools + python-wheel + python-wsgi-intercept + python-zope-testrunner)) + (propagated-inputs + (list python-distro + python-httplib2 + python-oauthlib + python-pyparsing + python-setuptools + python-six + python-wadllib)) (home-page "https://launchpad.net/lazr.restfulclient") (synopsis "Web client Python library extending wadlib") (description "This package provides a programmable client library that |
