Add Python 3 Train unit tests

This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Note that python35-charm-jobs is retained since this charm is supported
on Xenial.

Change-Id: Iff0551f8fae4dd4e8ac19e8c3e042158d55411bf
Story: #2005924
Task: #34228
This commit is contained in:
Corey Bryant 2019-07-12 14:29:19 -04:00
parent b4f24991e5
commit a0b474796a
3 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,5 @@
- project: - project:
templates: templates:
- python35-charm-jobs - python35-charm-jobs
- openstack-python3-train-jobs
- openstack-cover-jobs - openstack-cover-jobs

View File

@ -11,6 +11,11 @@ classifier =
Intended Audience :: System Administrators Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
[nosetests] [nosetests]
verbosity=2 verbosity=2

View File

@ -2,7 +2,7 @@
# This file is managed centrally by release-tools and should not be modified # This file is managed centrally by release-tools and should not be modified
# within individual charm repos. # within individual charm repos.
[tox] [tox]
envlist = pep8,py27,py35,py36 envlist = pep8,py27,py37
skipsdist = True skipsdist = True
skip_missing_interpreters = True skip_missing_interpreters = True
@ -33,6 +33,11 @@ basepython = python3.6
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
[testenv:py37]
basepython = python3.7
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8] [testenv:pep8]
basepython = python3 basepython = python3
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt