~ruther/guix-local

83651eef15bbdecd35b90c49de6d8476d70655a5 — Marius Bakke 4 years ago aec6bd0
gnu: python-daemon: Fix test failure.

* gnu/packages/python-xyz.scm (python-daemon)[arguments]: Patch one test &
remove trailing #t.
1 files changed, 7 insertions(+), 3 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +7 -3
@@ 4055,13 4055,17 @@ logging and tracing of the execution.")
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-before 'check 'disable-tests
         (add-before 'check 'adjust-tests
           (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
             (substitute* "test/test_daemon.py"
               (("test_detaches_process_context")
                "skip_test_detaches_process_context"))
             #t)))))
                "skip_test_detaches_process_context")))))))
    (propagated-inputs
     (list python-lockfile))
    (native-inputs