Use Python 3 for molecule tests 07/16607/1
authorThanh Ha <zxiiro@gmail.com>
Tue, 20 Aug 2019 02:32:52 +0000 (22:32 -0400)
committerThanh Ha <zxiiro@gmail.com>
Tue, 20 Aug 2019 02:33:17 +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: Ica796ce33dd79fc7e42d4c2795a48f4528ca5e6f

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