testlib: default nix fixture to also test all daemon protocols (2.5/3)
All tests should have been clear here, but alas Co-authored-by: eldritch horrors <pennae@lix.systems> Change-Id: Id642be1f6e0fb714b844ee5348dc096866cf3906
This commit is contained in:
committed by
eldritch horrors
co-authored by
eldritch horrors
parent
2605d3eab1
commit
d5044f0016
@@ -13,7 +13,7 @@ def test_ssh_relay(nix: Nix):
|
||||
|
||||
nix.settings.add_xp_feature("nix-command")
|
||||
|
||||
ssh_localhost = "ssh://localhost"
|
||||
ssh_localhost = "ssh://localhost?remote-store=local"
|
||||
store = ssh_localhost + 3 * f"?remote-store={ssh_localhost}"
|
||||
|
||||
out = nix.nix(["store", "add-path", "--store", store, "hello"]).run().ok().stdout_plain
|
||||
|
||||
@@ -445,7 +445,7 @@ def pytest_generate_tests(metafunc: pytest.Metafunc):
|
||||
if "nix" not in metafunc.fixturenames or "daemon" in metafunc.fixturenames:
|
||||
return
|
||||
if not list(metafunc.definition.iter_markers("no_daemon")):
|
||||
protocols = [None, "legacy-combined"]
|
||||
protocols = [None, "legacy-combined", "legacy"]
|
||||
# do not enable them the protocols for now
|
||||
# protocols += daemon_protocols # noqa ERA001
|
||||
ids = protocols
|
||||
|
||||
Reference in New Issue
Block a user