[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: import: pypi: Adjust URIs in tests.
From: |
Ludovic Courtès |
Subject: |
03/03: import: pypi: Adjust URIs in tests. |
Date: |
Sat, 17 Jun 2017 18:14:16 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b3d8153d395864e00dddaf81accb91845050c265
Author: Ludovic Courtès <address@hidden>
Date: Sun Jun 18 00:12:28 2017 +0200
import: pypi: Adjust URIs in tests.
This is a followup to d1e7ca2df8c0e0dd601079c77f67ba6828cec08a.
* tests/pypi.scm ("pypi->guix-package")
("pypi->guix-package, wheels"): Expect (pypi-uri "foo" version) for the
'uri' field.
---
tests/pypi.scm | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/pypi.scm b/tests/pypi.scm
index 28cc115..74f13e9 100644
--- a/tests/pypi.scm
+++ b/tests/pypi.scm
@@ -131,8 +131,7 @@ baz > 13.37")
('version "1.0.0")
('source ('origin
('method 'url-fetch)
- ('uri (string-append "https://example.com/foo-"
- version ".tar.gz"))
+ ('uri ('pypi-uri "foo" 'version))
('sha256
('base32
(? string? hash)))))
@@ -194,8 +193,7 @@ baz > 13.37")
('version "1.0.0")
('source ('origin
('method 'url-fetch)
- ('uri (string-append "https://example.com/foo-"
- version ".tar.gz"))
+ ('uri ('pypi-uri "foo" 'version))
('sha256
('base32
(? string? hash)))))