summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-06-18 00:12:28 +0200
committerLudovic Courtès <ludo@gnu.org>2017-06-18 00:14:07 +0200
commitb3d8153d395864e00dddaf81accb91845050c265 (patch)
tree2a1b34c0732bf4f776c493ae891f3158347a9e07 /tests
parentd46c4423f46278bd2f96770ceb0667431414349e (diff)
downloadguix-b3d8153d395864e00dddaf81accb91845050c265.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/pypi.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/pypi.scm b/tests/pypi.scm
index 28cc115a9d..74f13e9662 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)))))