clan-cli: use dependency flake instead of registry

This commit is contained in:
DavHau
2023-09-06 14:40:00 +02:00
parent c9bfd0a5b5
commit fcbc3ec899
6 changed files with 38 additions and 34 deletions

View File

@@ -7,7 +7,6 @@ import pytest_subprocess.fake_process
from pytest_subprocess import utils
import clan_cli
from clan_cli.dirs import flake_registry
from clan_cli.ssh import cli
@@ -34,10 +33,7 @@ def test_ssh_no_pass(
"shell",
"--extra-experimental-features",
"nix-command flakes",
"--flake-registry",
str(flake_registry()),
"nixpkgs#tor",
"nixpkgs#openssh",
fp.any(),
"-c",
"torify",
"ssh",
@@ -68,11 +64,7 @@ def test_ssh_with_pass(
"shell",
"--extra-experimental-features",
"nix-command flakes",
"--flake-registry",
str(flake_registry()),
"nixpkgs#tor",
"nixpkgs#openssh",
"nixpkgs#sshpass",
fp.any(),
"-c",
"torify",
"sshpass",