test: add python test requirements

This allows running the Python tests without importing secure-node.
This commit is contained in:
Erik Arvstedt 2020-09-28 13:09:04 +02:00
parent 9aa19c3fdd
commit c07e767889
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -13,6 +13,12 @@ let testEnv = rec {
./lib/test-lib.nix ./lib/test-lib.nix
../modules/modules.nix ../modules/modules.nix
../modules/secrets/generate-secrets.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 = { config = {