summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-04-15 16:56:00 +0530
committerApeksha D khakharia <akhakhar@redhat.com>2019-04-17 08:58:15 +0000
commitd90380c9b551356396c608da6f86ff16729cdbc5 (patch)
tree258b7116dc54bb99e9ac1d3394645573e9e57380
parent21cba48297103a528edbc21ce04ee254d83bf151 (diff)
Add info about running TCs using py3 to the README.rst file
Change-Id: I802a7438f531c709f0da3a8635b192e26bc883b4
-rw-r--r--README.rst12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 650db17..dc7c32e 100644
--- a/README.rst
+++ b/README.rst
@@ -71,7 +71,7 @@ Executing the test cases
$ tests/glusterfs-containers-tests-config.yaml
-* To run test cases in a virtual environment:
+* To run test cases in a virtual environment using py2:
.. code-block::
@@ -106,6 +106,16 @@ Executing the test cases
tests/glusterfs-containers-tests-config.yaml \
'--pytest=-v -rsx tests'
+* To run test cases in a virtual environment using py3:
+
+ .. code-block::
+
+ $ python3 -m tox -e functional3 -- glusto -c <config_file> \
+ '--pytest=-v -rsx <test_file_path_or_dir>'
+
+ Note, that "tox" and other python packages should be installed
+ using pip3 - separate package installer than the one used for py2 (pip).
+
Writing tests in `glusterfs-containers-tests`
*********************************************