Use Python 3 for molecule tests
authorThanh Ha <zxiiro@gmail.com>
Tue, 20 Aug 2019 02:36:38 +0000 (22:36 -0400)
committerThanh Ha <zxiiro@gmail.com>
Mon, 26 Aug 2019 20:15:47 +0000 (16:15 -0400)
PyTest 5.0 requires Python 3.5+ so let's update.

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

tox.ini

diff --git a/tox.ini b/tox.ini
index 53c35c9..8f33535 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ envlist =
 skipsdist=true
 
 [testenv:molecule]
-basepython = python2
+basepython = python3
 deps =
     ansible~=2.7.11
     ansible-lint~=4.0.1
@@ -22,4 +22,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