mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-26 22:31:39 +03:00
test(fetchPipMetadata): refactor test_path_in_nix_store
This commit is contained in:
parent
cb6a70dfe3
commit
d0fe509a67
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user