guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: khal: Fix a failing test.


From: guix-commits
Subject: branch master updated: gnu: khal: Fix a failing test.
Date: Thu, 23 Jul 2020 04:05:10 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2597e47  gnu: khal: Fix a failing test.
2597e47 is described below

commit 2597e47d9ef8bb868e341f6d1c01b76d81a9ae6b
Author: Tanguy Le Carrour <tanguy@bioneland.org>
AuthorDate: Thu Jul 23 09:50:43 2020 +0200

    gnu: khal: Fix a failing test.
    
    * gnu/packages/calendar.scm (khal)[arguments]: Fix a failing test.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/calendar.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index 726687d..53c73c9 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com
 ;;; Copyright © 2020 Brendan Tildesley <mail@brendan.scot>
+;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -195,6 +196,12 @@ data units.")
              "doc/build/man/khal.1"
              (string-append (assoc-ref outputs "out") "/share/man/man1"))
             #t))
+        (add-before 'check 'fix-tests
+          (lambda _
+            ;; Reported upstream: 
<https://github.com/pimutils/khal/issues/947>.
+            (substitute* "tests/cli_test.py"
+             (("Invalid value for \"\\[ICS\\]\"") "Invalid value for 
\\'[ICS]\\'"))
+            #t))
         (replace 'check
           (lambda* (#:key inputs #:allow-other-keys)
             ;; The tests require us to choose a timezone.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]