~ruther/guix-local

b3d8153d395864e00dddaf81accb91845050c265 — Ludovic Courtès 8 years ago d46c442
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.
1 files changed, 2 insertions(+), 4 deletions(-)

M tests/pypi.scm
M tests/pypi.scm => tests/pypi.scm +2 -4
@@ 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)))))