summary refs log tree commit diff
path: root/tests/hackage.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-17 12:09:40 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-31 23:25:24 +0200
commitd2f36abd02088cdf1ceb26de2de9c2b33f50c09e (patch)
tree8276e220ac10d727b78d6c3f9ca1f9dc3404adbc /tests/hackage.scm
parent09526da78f4f7c33e2c6b16c0b314d007f99d10f (diff)
downloadguix-d2f36abd02088cdf1ceb26de2de9c2b33f50c09e.tar.gz
tests: pypi: Rewrite tests using a local HTTP server.
* guix/import/pypi.scm (%pypi-base-url): New variable.
(pypi-fetch): Use it.
* tests/pypi.scm (foo-json): Compute URLs relative to '%local-url'.
(test-json-1, test-json-2, test-source-hash): Remove.
(file-dump): New procedure.
(with-pypi): New macro.
("pypi->guix-package, no wheel")
("pypi->guix-package, wheels")
("pypi->guix-package, no usable requirement file.")
("pypi->guix-package, package name contains \"-\" followed by digits"):
Rewrite using 'with-pypi'.
Diffstat (limited to 'tests/hackage.scm')
0 files changed, 0 insertions, 0 deletions