Browse Source

Clarify python trove classifiers

+ fix unittest for python 3.8

Change-Id: If8bcae9d0ec985c9c22b12f5a8f399e227939d73
tags/2.0.0
Andrey Kurilin 3 months ago
parent
commit
771c922af5
4 changed files with 8 additions and 6 deletions
  1. +2
    -0
      .zuul.d/zuul.yaml
  2. +2
    -0
      CHANGELOG.rst
  3. +2
    -4
      setup.cfg
  4. +2
    -2
      tests/unit/test_ddt.py

+ 2
- 0
.zuul.d/zuul.yaml View File

@@ -5,6 +5,7 @@
- rally-tox-pep8
- rally-tox-py36
- rally-tox-py37
- rally-tox-py38
- rally-dsvm-tox-functional
- rally-docker-check
- rally-task-basic-with-existing-users:
@@ -64,6 +65,7 @@
- rally-tox-pep8
- rally-tox-py36
- rally-tox-py37
- rally-tox-py38
- rally-dsvm-tox-functional
- rally-docker-check
- rally-task-simple-job


+ 2
- 0
CHANGELOG.rst View File

@@ -25,6 +25,8 @@ Added
* The *rally_openstack.task.context.OpenStackContext* class which provides
helpers for all OpenStack context.

* Declare Python 3.8 support

Changed
~~~~~~~



+ 2
- 4
setup.cfg View File

@@ -15,12 +15,10 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8

[files]
packages =


+ 2
- 2
tests/unit/test_ddt.py View File

@@ -68,13 +68,13 @@ class DDTDecoratorChecker(ast.NodeVisitor):
"but is not decorated with `ddt.ddt`" %
cls.name)
self.errors[cls.name] = {
"lineno": node.lineno,
"lineno": decorator.lineno,
"message": msg
}


class DDTDecoratorCheckerTestCase(test.TestCase):
tests_path = os.path.join(os.path.dirname(__file__))
tests_path = os.path.dirname(__file__)

def test_ddt_class_decorator(self):
"""Classes with DDT-decorated functions have ddt.ddt class decorator.


Loading…
Cancel
Save