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-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

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
~~~~~~~

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 =

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.