1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-17 12:30:38 +02:00

gnu: python-gssapi: Skip failing tests.

Fixes <https://issues.guix.gnu.org/43402>.

* gnu/packages/python-xyz.scm (python-gssapi)[phases]{disable-failing-tests}:
Add phase.
This commit is contained in:
Maxim Cournoyer 2020-09-28 13:42:17 -04:00
parent ec2ecf790f
commit 3dc26bcd78
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -20424,6 +20424,22 @@ tests.")
(base32
"02i5s7998dg5kcr4m0xwamd8vjqk1816xbzldyp68l91f6bynwcr"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
;; Work around
;; https://github.com/pythongssapi/python-gssapi/issues/220.
(add-before 'check 'disable-failing-tests
(lambda _
(let ((reason "Disabled failing test (see: \
https://github.com/pythongssapi/python-gssapi/issues/220)."))
(substitute* "gssapi/tests/test_high_level.py"
((".*def test_add_with_impersonate.*" all)
(string-append all " self.skipTest('" reason "')\n")))
(substitute* "gssapi/tests/test_raw.py"
((".*def test_.*impersonate_name.*" all)
(string-append all " self.skipTest('" reason "')\n")))
#t))))))
(propagated-inputs
`(("python-decorator" ,python-decorator)
("python-six" ,python-six)))