test(fetchPipMetadata): refactor test_path_in_nix_store

This commit is contained in:
DavHau 2023-07-09 18:30:13 +02:00
parent cb6a70dfe3
commit d0fe509a67

View File

@ -75,14 +75,14 @@ def test_path_in_repo(git_repo_path):
assert l.lock_entry_from_report_entry(install) == expected
def test_path_in_nix_store(fod_store_path):
def test_path_in_nix_store():
install = dict(
metadata=dict(
name="test",
version="0.0.0",
),
download_info=dict(
url=fod_store_path,
url="/nix/store/test",
),
)
expected = "test", dict(