diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-10-22 23:04:25 +0200 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-12-01 12:11:21 +0100 |
commit | 7cfb9417751c0531d3b28835517c1535fa918b2b (patch) | |
tree | ff4e99009477c980dc0c3c542ff75fbf09832f0b /pkgs/applications/networking | |
parent | 0db5959bd714fdff40f2b34fb75d026448341f14 (diff) |
nixosTests.gns3-server: init
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/gns3/server.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix index 9253412aac03..ae792037e453 100644 --- a/pkgs/applications/networking/gns3/server.nix +++ b/pkgs/applications/networking/gns3/server.nix @@ -8,6 +8,7 @@ , fetchFromGitHub , pkgsStatic , stdenv +, nixosTests , testers , gns3-server }: @@ -75,9 +76,12 @@ python3.pkgs.buildPythonApplication { "--reruns 3" ]; - passthru.tests.version = testers.testVersion { - package = gns3-server; - command = "${lib.getExe gns3-server} --version"; + passthru.tests = { + inherit (nixosTests) gns3-server; + version = testers.testVersion { + package = gns3-server; + command = "${lib.getExe gns3-server} --version"; + }; }; meta = with lib; { |