mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
channels: Adjust tests for new #:verify-certificate? parameter.
This is a followup to 9544a04411
.
* tests/channels.scm ("latest-channel-instances includes channel dependencies")
("latest-channel-instances excludes duplicate channel dependencies"):
Add #:verify-certificate? parameter to ‘update-cached-checkout’ mock.
Change-Id: Ia795b965c564e5552525327d1d748635dc66d5fd
This commit is contained in:
parent
bdde278dc9
commit
121e96dca2
1 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ (define channel-metadata-dependencies
|
||||||
(url "test")))
|
(url "test")))
|
||||||
(test-dir (channel-instance-checkout instance--simple)))
|
(test-dir (channel-instance-checkout instance--simple)))
|
||||||
(mock ((guix git) update-cached-checkout
|
(mock ((guix git) update-cached-checkout
|
||||||
(lambda* (url #:key ref starting-commit)
|
(lambda* (url #:key ref starting-commit verify-certificate?)
|
||||||
(match url
|
(match url
|
||||||
("test" (values test-dir "caf3cabba9e" #f))
|
("test" (values test-dir "caf3cabba9e" #f))
|
||||||
(_ (values (channel-instance-checkout instance--no-deps)
|
(_ (values (channel-instance-checkout instance--no-deps)
|
||||||
|
@ -173,7 +173,7 @@ (define channel-metadata-dependencies
|
||||||
(url "test")))
|
(url "test")))
|
||||||
(test-dir (channel-instance-checkout instance--with-dupes)))
|
(test-dir (channel-instance-checkout instance--with-dupes)))
|
||||||
(mock ((guix git) update-cached-checkout
|
(mock ((guix git) update-cached-checkout
|
||||||
(lambda* (url #:key ref starting-commit)
|
(lambda* (url #:key ref starting-commit verify-certificate?)
|
||||||
(match url
|
(match url
|
||||||
("test" (values test-dir "caf3cabba9e" #f))
|
("test" (values test-dir "caf3cabba9e" #f))
|
||||||
(_ (values (channel-instance-checkout instance--no-deps)
|
(_ (values (channel-instance-checkout instance--no-deps)
|
||||||
|
|
Loading…
Reference in a new issue