From c07e767889f56d3c61e434877086ec8f86488b78 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 28 Sep 2020 13:09:04 +0200 Subject: [PATCH] test: add python test requirements This allows running the Python tests without importing secure-node. --- test/tests.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/tests.nix b/test/tests.nix index 3e90c0d..afac7c0 100644 --- a/test/tests.nix +++ b/test/tests.nix @@ -13,6 +13,12 @@ let testEnv = rec { ./lib/test-lib.nix ../modules/modules.nix ../modules/secrets/generate-secrets.nix + { + # Features required by the Python test suite + nix-bitcoin.secretsDir = "/secrets"; + nix-bitcoin.operator.enable = true; + environment.systemPackages = with pkgs; [ jq ]; + } ]; config = {