import: pypi: Adjust URIs in tests.

This is a followup to d1e7ca2df8.

* tests/pypi.scm ("pypi->guix-package")
("pypi->guix-package, wheels"): Expect (pypi-uri "foo" version) for the
'uri' field.
This commit is contained in:
Ludovic Courtès 2017-06-18 00:12:28 +02:00
parent d46c4423f4
commit b3d8153d39
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 4 deletions

View File

@ -131,8 +131,7 @@ baz > 13.37")
('version "1.0.0") ('version "1.0.0")
('source ('origin ('source ('origin
('method 'url-fetch) ('method 'url-fetch)
('uri (string-append "https://example.com/foo-" ('uri ('pypi-uri "foo" 'version))
version ".tar.gz"))
('sha256 ('sha256
('base32 ('base32
(? string? hash))))) (? string? hash)))))
@ -194,8 +193,7 @@ baz > 13.37")
('version "1.0.0") ('version "1.0.0")
('source ('origin ('source ('origin
('method 'url-fetch) ('method 'url-fetch)
('uri (string-append "https://example.com/foo-" ('uri ('pypi-uri "foo" 'version))
version ".tar.gz"))
('sha256 ('sha256
('base32 ('base32
(? string? hash))))) (? string? hash)))))