* [bug#42488] [PATCH] gnu: khal: Fix a failing test.
@ 2020-07-23 7:50 Tanguy Le Carrour
2020-07-23 8:05 ` bug#42488: " Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: Tanguy Le Carrour @ 2020-07-23 7:50 UTC (permalink / raw)
To: 42488; +Cc: Tanguy Le Carrour
* 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 <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.
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-23 8:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-23 7:50 [bug#42488] [PATCH] gnu: khal: Fix a failing test Tanguy Le Carrour
2020-07-23 8:05 ` bug#42488: " Efraim Flashner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.