File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2121,6 +2121,10 @@ control is available.
21212121
21222122The driver's name will be displayed during interaction.
21232123
2124+ .. note ::
2125+ When using the ManualPowerDriver with pytest, use ``-s ``/``--capture=no `` to
2126+ prevent stdout capturing.
2127+
21242128Binds to:
21252129 - None
21262130
@@ -2486,6 +2490,10 @@ the target.
24862490This can be used if a driver binds to a :any: `DigitalOutputProtocol `, but no
24872491automatic control is available.
24882492
2493+ .. note ::
2494+ When using the ManualSwitchDriver with pytest, use ``-s ``/``--capture=no `` to
2495+ prevent stdout capturing.
2496+
24892497Binds to:
24902498 - None
24912499
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ your board (manually) and run your first test:
145145
146146.. code-block :: bash
147147
148- labgrid-venv $ pytest --lg-env local.yaml test_shell.py
148+ labgrid-venv $ pytest --lg-env local.yaml --capture=no test_shell.py
149149
150150 It should return successfully, in case it does not, open an `Issue
151151<https://github.com/labgrid-project/labgrid/issues> `_.
You can’t perform that action at this time.
0 commit comments