Allow to use system packages for SL venv
It is required to get access to salt.client module
Change-Id: I326faada2cf71b043065abb531c6fcbd2fb3e1b4
diff --git a/tcp_tests/templates/shared-sl-tests.yaml b/tcp_tests/templates/shared-sl-tests.yaml
index 01d1b9b..35af573 100644
--- a/tcp_tests/templates/shared-sl-tests.yaml
+++ b/tcp_tests/templates/shared-sl-tests.yaml
@@ -10,7 +10,7 @@
cmd: |
set -e;
apt-get -y install python-virtualenv;
- virtualenv venv-stacklight-pytest;
+ virtualenv --system-site-packages venv-stacklight-pytest;
. venv-stacklight-pytest/bin/activate;
git clone -b {{ SL_TEST_BRANCH }} {{ SL_TEST_REPO }} /root/stacklight-pytest;
pip install /root/stacklight-pytest;