aboutsummaryrefslogtreecommitdiff
path: root/tests/cran.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-11-10 11:58:43 +0100
committerLudovic Courtès <ludo@gnu.org>2016-11-10 11:58:43 +0100
commit324a2ba56c2f4c0d91567ed08024ae2c492f3b23 (patch)
tree4ae14e3baceab7cca2cce48486e295134de71610 /tests/cran.scm
parent8033772363b287ca529461e575ceb4a69d7af942 (diff)
downloadpatches-324a2ba56c2f4c0d91567ed08024ae2c492f3b23.tar
patches-324a2ba56c2f4c0d91567ed08024ae2c492f3b23.tar.gz
tests: Adjust 'url-fetch' mocks to TLS changes.
This is a followup to bc3c41ce36349ed4ec758c70b48a7059e363043a. * tests/cpan.scm ("cpan->guix-package"): Add #:verify-certificate? parameter in 'url-fetch' mock. * tests/cran.scm ("description->package"): Likewise.
Diffstat (limited to 'tests/cran.scm')
-rw-r--r--tests/cran.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cran.scm b/tests/cran.scm
index 896c5af06c..f92934c468 100644
--- a/tests/cran.scm
+++ b/tests/cran.scm
@@ -89,7 +89,9 @@ Date/Publication: 2015-07-14 14:15:16
(test-assert "description->package"
;; Replace network resources with sample data.
(mock ((guix build download) url-fetch
- (lambda* (url file-name #:key (mirrors '()))
+ (lambda* (url file-name
+ #:key
+ (mirrors '()) verify-certificate?)
(with-output-to-file file-name
(lambda ()
(display