diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-06-04 00:13:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 00:13:01 +0000 |
commit | 9ebf890b3fc684564ca833fa925a451b0fe8992b (patch) | |
tree | ba9ac765e47b6a868210758a24b3b4a25d8c1c2e /nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml | |
parent | 0e5d12d65c5cb5260c2f1b00d7bf90fba213cba2 (diff) | |
parent | 628d7a800c19958a9919d1aea4bc498559ee65bc (diff) |
Merge master into haskell-updates
Diffstat (limited to 'nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml')
-rw-r--r-- | nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml b/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml index 7ce3e4cb29065..79df3b9c3764a 100644 --- a/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml +++ b/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml @@ -590,6 +590,19 @@ import ./make-test-python.nix { # fmt: on ''; </programlisting> + <para> + Similarly, the type checking of test scripts can be disabled in + the following way: + </para> + <programlisting language="bash"> +import ./make-test-python.nix { + skipTypeCheck = true; + nodes.machine = + { config, pkgs, ... }: + { configuration… + }; +} +</programlisting> </section> <section xml:id="ssec-failing-tests-early"> <title>Failing tests early</title> |