Use Python 3 for molecule tests 08/16608/1
authorThanh Ha <zxiiro@gmail.com>
Tue, 20 Aug 2019 02:33:48 +0000 (22:33 -0400)
committerThanh Ha <zxiiro@gmail.com>
Tue, 20 Aug 2019 02:33:48 +0000 (22:33 -0400)
PyTest 5.0 requires Python 3.5+ so let's update.

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I422322c4eac7a0812125e6f9e789c24a5512b697

tox.ini

diff --git a/tox.ini b/tox.ini
index b1f51c5..3b6c713 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ envlist =
 skipsdist=true
 
 [testenv:molecule]
-basepython = python2
+basepython = python3
 deps =
     ansible
     docker
@@ -19,4 +19,4 @@ commands =
 deps = pre-commit
 commands =
     pre-commit install --hook-type commit-msg
-    pre-commit run --all-files
\ No newline at end of file
+    pre-commit run --all-files