gnu: python-daemon: Fix test failure.

* gnu/packages/python-xyz.scm (python-daemon)[arguments]: Patch one test &
remove trailing #t.
This commit is contained in:
Marius Bakke 2021-12-16 11:44:59 +01:00
parent aec6bd0169
commit 83651eef15
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -4055,13 +4055,17 @@ (define-public python-daemon
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'check 'disable-tests (add-before 'check 'adjust-tests
(lambda _ (lambda _
;; Drop use of testtools.helpers.safe_hasattr which has
;; been removed in favor of hasattr.
(substitute* "test/test_metadata.py"
(("testtools\\.helpers\\.safe_hasattr")
"hasattr"))
;; FIXME: Determine why test fails ;; FIXME: Determine why test fails
(substitute* "test/test_daemon.py" (substitute* "test/test_daemon.py"
(("test_detaches_process_context") (("test_detaches_process_context")
"skip_test_detaches_process_context")) "skip_test_detaches_process_context")))))))
#t)))))
(propagated-inputs (propagated-inputs
(list python-lockfile)) (list python-lockfile))
(native-inputs (native-inputs