From 1276df4cfa4c0ee819827d1a7f01d28398173051 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 11 Jan 2019 21:59:33 -0200 Subject: [PATCH] Add docs for sys.argv access from workers --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index a863421..072e5b0 100644 --- a/README.rst +++ b/README.rst @@ -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 ------------------------------------------------