Merge pull request #401 from nicoddemus/mainargv-docs

Add docs for sys.argv access from workers
This commit is contained in:
Ronny Pfannschmidt
2019-01-15 06:16:41 +01:00
committed by GitHub

View File

@@ -223,6 +223,12 @@ defined:
The information about the worker_id in a test is stored in the ``TestReport`` as
well, under the ``worker_id`` attribute.
Acessing ``sys.argv`` from the master node in workers
-----------------------------------------------------
To access the ``sys.argv`` passed to the command-line of the master node, use
``request.config.workerinput["mainargv"]``.
Specifying test exec environments in an ini file
------------------------------------------------