Browse Source

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: If3b1f9f6d5af0f8f64e9ffb50b0f2f8c5d112d40
Story: #2005924
Task: #34228
changes/77/673077/2
Corey Bryant 11 months ago
parent
commit
6338660677
3 changed files with 12 additions and 1 deletions
  1. +1
    -0
      .zuul.yaml
  2. +5
    -0
      setup.cfg
  3. +6
    -1
      tox.ini

+ 1
- 0
.zuul.yaml View File

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

+ 5
- 0
setup.cfg View File

@@ -11,6 +11,11 @@ classifier =
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
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]
verbosity=2


+ 6
- 1
tox.ini View File

@@ -2,7 +2,7 @@
# This file is managed centrally by release-tools and should not be modified
# within individual charm repos.
[tox]
envlist = pep8,py3
envlist = pep8,py37
skipsdist = True

[testenv]
@@ -27,6 +27,11 @@ basepython = python3.6
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt

[testenv:py37]
basepython = python3.7
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt

[testenv:py3]
basepython = python3
deps = -r{toxinidir}/requirements.txt


Loading…
Cancel
Save