Added both python 2/3 unit test in tox 56/98956/1
authorLianhao Lu <lianhao.lu@intel.com>
Fri, 29 Nov 2019 05:13:37 +0000 (13:13 +0800)
committerLianhao Lu <lianhao.lu@intel.com>
Fri, 29 Nov 2019 05:13:37 +0000 (13:13 +0800)
Change-Id: I97cd872fa2b67b07d459a0f5c1dd1e4aa634f876
Issue-ID: VNFSDK-532
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
setup.py
tox.ini

index 867cb64..3aad92b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -62,11 +62,10 @@ setup(
     classifiers=[
         'Development Status :: 4 - Beta',
         'Environment :: Console',
-        'Environment :: Web Environment',
         'Intended Audience :: Developers',
         'Intended Audience :: System Administrators',
         'License :: OSI Approved :: Apache Software License',
-        'Operating System :: OS Independent',
+        'Operating System :: POSIX :: Linux'
         'Programming Language :: Python',
         'Programming Language :: Python :: 2',
         'Programming Language :: Python :: 2.7',
diff --git a/tox.ini b/tox.ini
index 2567eaf..3fa6109 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -15,7 +15,7 @@
 #
 
 [tox]
-envlist=py27
+envlist=py27,py3
 
 [testenv]
 passenv =
@@ -33,3 +33,9 @@ commands =
     coverage xml --omit=".tox/*,tests/*"
     coverage report --omit=".tox/*,tests/*"
     #pytest tests --cov-report term-missing --cov vnfsdk_pkgtools
+
+[testenv:py27]
+basepython = python2
+
+[testenv:py3]
+basepython = python3