khal: fix test (#85811)

This commit is contained in:
Rok Garbas 2020-04-24 12:33:30 +02:00 committed by GitHub
parent 320edf21f5
commit 69bac39af7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,13 @@ with python3.pkgs; buildPythonApplication rec {
checkInputs = [ pytest glibcLocales ];
LC_ALL = "en_US.UTF-8";
postPatch = ''
sed -i \
-e "s/Invalid value for \"ics\"/Invalid value for \\\'ics\\\'/" \
-e "s/Invalid value for \"\[ICS\]\"/Invalid value for \\\'\[ICS\]\\\'/" \
tests/cli_test.py
'';
postInstall = ''
# zsh completion
install -D misc/__khal $out/share/zsh/site-functions/__khal