~ruther/guix-local

170efe6e68e1f6ee24942b3031adee7c5000e3da — Sharlatan Hellseher 2 years ago 96895a6
gnu: python-crontab: Enable tests.

* gnu/packages/python-xyz.scm (python-crontab): Enable tests.
[arguments] <#:phases>: Add 'disable-failing-tests phase.

Change-Id: I294ff69091ed1ed6b016c194bc8fb6e5af11978c
1 files changed, 8 insertions(+), 2 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +8 -2
@@ 27982,8 27982,14 @@ format.")
        (base32 "0cccrqc10r8781ba81x8r2frs3pl2m4hkm599k5358ak0xr7xgjb"))))
    (build-system python-build-system)
    (arguments
     ;; Comptability tests fail so they are disabled.
     `(#:tests? #f))
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'disable-failing-tests
            (lambda _
              (substitute* "tests/test_compatibility.py"
                (("test_07_non_posix_shell")
                 "__off_test_07_non_posix_shell")))))))
    (inputs
     (list python-dateutil))
    (home-page "https://gitlab.com/doctormo/python-crontab/")