nixosTests.nesting: fix subtest scoping

(cherry picked from commit 98791845cb)
This commit is contained in:
Andrew Childs
2020-02-27 23:54:45 +09:00
committed by rnhmjoj
parent c0e34873d9
commit 6e6d8a2bdb

View File

@@ -29,10 +29,10 @@ import ./make-test-python.nix {
)
clone.succeed("cowsay hey")
clone.succeed("hello")
children.wait_for_unit("default.target")
children.succeed("cowsay hey")
children.fail("hello")
children.wait_for_unit("default.target")
children.succeed("cowsay hey")
children.fail("hello")
with subtest("Nested children do not inherit from parent"):
children.succeed(