testing-python.nix: document runTests pos argument
This commit is contained in:
parent
212c4e8f73
commit
162b8fba12
|
@ -54,8 +54,13 @@ rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
# Run an automated test suite in the given virtual network.
|
# Run an automated test suite in the given virtual network.
|
||||||
# `driver' is the script that runs the network.
|
runTests = {
|
||||||
runTests = { driver, pos }:
|
# the script that runs the network
|
||||||
|
driver,
|
||||||
|
# a source position in the format of builtins.unsafeGetAttrPos
|
||||||
|
# for meta.position
|
||||||
|
pos,
|
||||||
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "vm-test-run-${driver.testName}";
|
name = "vm-test-run-${driver.testName}";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue