-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
TIG 2017-08-21
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Abstract, similar to ${set_sudo} as follows:
In pre step, command: expansions.update
- key: activate_virtualenv
value: |
# check if virtualenv is set up
if [ -d "venv" ]; then
if [ "Windows_NT" = "$OS" ]; then
. ./venv/Scripts/activate
else
. ./venv/bin/activate
fi
fi
Invoke as ${activate_virtualenv}