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

View file

@ -131,8 +131,7 @@ (define test-metadata
('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 @@ (define test-metadata
('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)))))