diff --git a/nixos/modules/tests/private-storage.nix b/nixos/modules/tests/private-storage.nix index 6b75611af6476245a3c684cea988793ed30c2204..4570d4627a2f1db52034d65398471ee9e0c1cfcf 100644 --- a/nixos/modules/tests/private-storage.nix +++ b/nixos/modules/tests/private-storage.nix @@ -133,6 +133,14 @@ import <nixpkgs/nixos/tests/make-test.nix> { }; } // networkConfig; + # Also run a fake Stripe API endpoint server. Nodes in these tests run on + # a network without outside access so we can't easily use the real Stripe + # API endpoint and with this one we have greater control over the + # behavior, anyway, without all of the unintentional transient network + # errors that come from the public internet. These tests *aren't* meant + # to prove PaymentServer correctly interacts with the real Stripe API + # server so this is an unverified fake. The PaymentServer test suite + # needs to take care of any actual Stripe API integration testing. "api_stripe_com" = { config, pkgs, ... }: let python = pkgs.python3.withPackages (ps: [ ps.twisted ]);