drop clan_flake fixture

This commit is contained in:
Jörg Thalheim
2023-09-14 16:57:04 +02:00
parent 4905e0cecd
commit 2048ffccb0
8 changed files with 17 additions and 39 deletions

View File

@@ -8,13 +8,13 @@ from host_group import HostGroup
def test_update(
clan_flake: Path, host_group: HostGroup, monkeypatch: pytest.MonkeyPatch
machine_flake: Path, host_group: HostGroup, monkeypatch: pytest.MonkeyPatch
) -> None:
assert len(host_group.hosts) == 1
host = host_group.hosts[0]
with TemporaryDirectory() as tmpdir:
host.meta["flake_uri"] = clan_flake
host.meta["flake_uri"] = machine_flake
host.meta["flake_path"] = str(Path(tmpdir) / "rsync-target")
host.ssh_options["SendEnv"] = "REALPATH"
bin = Path(tmpdir).joinpath("bin")