Subject: bug#42488: closed (Re: [bug#42488] [PATCH] gnu: khal: Fix a failing test.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 23 Jul 2020 08:07:02 +0000

Your bug report

#42488: [PATCH] gnu: khal: Fix a failing test.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
42488: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42488
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#42488] [PATCH] gnu: khal: Fix a failing test.
From: Efraim Flashner <[email-masked]>
To: Tanguy Le Carrour <[email-masked]>
Cc: [email-masked]
Date: Thu, 23 Jul 2020 11:05:31 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks, it's been bothering me that I couldn't upgrade that package.

Patch pushed!

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH] gnu: khal: Fix a failing test.
From: Tanguy Le Carrour <[email-masked]>
To: [email-masked]
Cc: Tanguy Le Carrour <[email-masked]>
Date: Thu, 23 Jul 2020 09:50:43 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/calendar.scm (khal): [arguments] Fix a failing test.
---
 gnu/packages/calendar.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index 726687d488..53c73c969d 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2020 Marius Bakke <[email-masked]
 ;;; Copyright © 2020 Brendan Tildesley <[email-masked]>
+;;; Copyright © 2020 Tanguy Le Carrour <[email-masked]>
 ;;;
 ;;; 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.
-- 
2.27.0