aboutsummaryrefslogtreecommitdiff
path: root/tests/cpan.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/cpan.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/cpan.scm')
-rw-r--r--tests/cpan.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cpan.scm b/tests/cpan.scm
index 80ff044abd..e37fc437fc 100644
--- a/tests/cpan.scm
+++ b/tests/cpan.scm
@@ -61,7 +61,9 @@
(test-assert "cpan->guix-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