tests_secrets_generate: mark as pure
This commit is contained in:
@@ -14,7 +14,7 @@ if TYPE_CHECKING:
|
||||
from .age_keys import KeyPair
|
||||
|
||||
|
||||
@pytest.mark.impure
|
||||
@pytest.mark.with_core
|
||||
def test_generate_secret(
|
||||
monkeypatch: pytest.MonkeyPatch,
|
||||
test_flake_with_core: FlakeForTest,
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
pythonRuntime,
|
||||
setupNixInNix,
|
||||
templateDerivation,
|
||||
zerotierone,
|
||||
minifakeroot,
|
||||
}:
|
||||
let
|
||||
pyDeps = ps: [
|
||||
@@ -215,7 +217,10 @@ pythonRuntime.pkgs.buildPythonApplication {
|
||||
pkgs.mkpasswd
|
||||
pkgs.xkcdpass
|
||||
pkgs.pass
|
||||
zerotierone
|
||||
minifakeroot
|
||||
nix-select
|
||||
../../nixosModules/clanCore/zerotier/generate.py
|
||||
|
||||
# needed by flash list tests
|
||||
nixpkgs.legacyPackages.x86_64-linux.kbd
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
"flake.lock"
|
||||
"templates"
|
||||
"clanServices"
|
||||
"pkgs/zerotierone"
|
||||
"pkgs/minifakeroot"
|
||||
];
|
||||
};
|
||||
};
|
||||
@@ -44,6 +46,7 @@
|
||||
clan-cli = pkgs.callPackage ./default.nix {
|
||||
inherit (inputs) nixpkgs nix-select;
|
||||
inherit (self.legacyPackages.${system}) setupNixInNix;
|
||||
inherit (self'.packages) zerotierone minifakeroot;
|
||||
templateDerivation = templateDerivation;
|
||||
pythonRuntime = pkgs.python3;
|
||||
clan-core-path = clanCoreWithVendoredDeps;
|
||||
@@ -55,6 +58,7 @@
|
||||
clan-cli-full = pkgs.callPackage ./default.nix {
|
||||
inherit (inputs) nixpkgs nix-select;
|
||||
inherit (self.legacyPackages.${system}) setupNixInNix;
|
||||
inherit (self'.packages) zerotierone minifakeroot;
|
||||
clan-core-path = clanCoreWithVendoredDeps;
|
||||
templateDerivation = templateDerivation;
|
||||
pythonRuntime = pkgs.python3;
|
||||
|
||||
Reference in New Issue
Block a user