[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47906] [PATCH 11/22] gnu: python-language-server: Enable tests.
From: |
Vinicius Monego |
Subject: |
[bug#47906] [PATCH 11/22] gnu: python-language-server: Enable tests. |
Date: |
Tue, 20 Apr 2021 05:22:35 +0000 |
* gnu/packages/python-xyz.scm (python-language-server): Enable tests.
[arguments]: Add phases to enable tests.
[propagated-inputs]: Add python-flake8.
---
gnu/packages/python-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b76171de57..6e2ac8b87b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4301,10 +4301,21 @@ Server (PLS).")
(base32
"1c0pnk2aibfhfaanrs0a5gkabkvz81gj20z7r0152b7fcx5ci14r"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-HOME
+ (lambda _ (setenv "HOME" "/tmp") #t))
+ (replace 'check
+ (lambda _
+ ;; Disable failing test.
+ (invoke "python" "-m" "pytest" "-k"
+ "not test_pyqt_completion"))))))
(propagated-inputs
`(("python-autopep8" ,python-autopep8)
("python-configparser" ,python-configparser)
("python-pydocstyle" ,python-pydocstyle)
+ ("python-flake8" ,python-flake8)
("python-future" ,python-future)
("python-jedi" ,python-jedi)
("python-jsonrpc-server" ,python-jsonrpc-server)
--
2.31.1
- [bug#47906] [PATCH 00/22] Add Spyder, Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 01/22] gnu: Add python-spyder-kernels., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 02/22] gnu: Add python-textdistance., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 03/22] gnu: Add python-three-merge., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 04/22] gnu: Add python-pyls-black., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 05/22] gnu: Add python-pyls-spyder., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 07/22] gnu: python-qtconsole: Update to 5.0.3., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 06/22] gnu: python-watchdog: Update to 1.0.2., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 09/22] gnu: Add python-tinycss., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 11/22] gnu: python-language-server: Enable tests.,
Vinicius Monego <=
- [bug#47906] [PATCH 12/22] gnu: Add python-pytest-qt., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 13/22] gnu: Add python-qtawesome., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 10/22] gnu: Add python-qstylizer., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 08/22] gnu: python-qtconsole: Enable tests., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 14/22] gnu: Add python-qtsass., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 16/22] gnu: Add python-easyprocess., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 15/22] gnu: python-qdarkstyle: Update to 3.0.2., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 19/22] gnu: Add python-pytest-xvfb., Vinicius Monego, 2021/04/20