forked from lix-project/lix
tests: add an error message to the URL assert in tarball flakes test
Change-Id: Idd2212a1c3714ce58c7c3a9f34c2ca4313eb6d55
This commit is contained in:
parent
ff9a4fc336
commit
20785ba767
|
@ -64,7 +64,8 @@ in
|
|||
info = json.loads(out)
|
||||
|
||||
# Check that we got redirected to the immutable URL.
|
||||
assert info["locked"]["url"] == "http://localhost/stable/${nixpkgs.rev}.tar.gz"
|
||||
locked_url = info["locked"]["url"]
|
||||
assert locked_url == "http://localhost/stable/${nixpkgs.rev}.tar.gz", f"{locked_url=} != http://localhost/stable/${nixpkgs.rev}.tar.gz"
|
||||
|
||||
# Check that we got the rev and revCount attributes.
|
||||
assert info["revision"] == "${nixpkgs.rev}"
|
||||
|
|
Loading…
Reference in a new issue