Add docs for sys.argv access from workers

This commit is contained in:
Bruno Oliveira
2019-01-11 21:59:33 -02:00
parent c3dbd05bd1
commit 1276df4cfa

View File

@@ -223,6 +223,12 @@ defined:
The information about the worker_id in a test is stored in the ``TestReport`` as The information about the worker_id in a test is stored in the ``TestReport`` as
well, under the ``worker_id`` attribute. 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 Specifying test exec environments in an ini file
------------------------------------------------ ------------------------------------------------