Clarify python trove classifiers

+ fix unittest for python 3.8

Change-Id: If8bcae9d0ec985c9c22b12f5a8f399e227939d73
This commit is contained in:
Andrey Kurilin 2020-03-27 19:35:37 +02:00
parent d2f4e9717d
commit 771c922af5
4 changed files with 8 additions and 6 deletions

View File

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

View File

@ -25,6 +25,8 @@ Added
* The *rally_openstack.task.context.OpenStackContext* class which provides * The *rally_openstack.task.context.OpenStackContext* class which provides
helpers for all OpenStack context. helpers for all OpenStack context.
* Declare Python 3.8 support
Changed Changed
~~~~~~~ ~~~~~~~

View File

@ -15,12 +15,10 @@ classifier =
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
Programming Language :: Python :: 2 Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
[files] [files]
packages = packages =

View File

@ -68,13 +68,13 @@ class DDTDecoratorChecker(ast.NodeVisitor):
"but is not decorated with `ddt.ddt`" % "but is not decorated with `ddt.ddt`" %
cls.name) cls.name)
self.errors[cls.name] = { self.errors[cls.name] = {
"lineno": node.lineno, "lineno": decorator.lineno,
"message": msg "message": msg
} }
class DDTDecoratorCheckerTestCase(test.TestCase): 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): def test_ddt_class_decorator(self):
"""Classes with DDT-decorated functions have ddt.ddt class decorator. """Classes with DDT-decorated functions have ddt.ddt class decorator.