diff --git a/.zuul.yaml b/.zuul.yaml index e7c200a..defd922 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,3 +1,3 @@ - project: templates: - - noop-jobs + - tempest-plugin-jobs diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..d122f89 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +python-subunit >= 0.0.18 +testtools >= 0.9.30 +dpkt >= 1.8.8 # BSD +cryptography >= 2.5, < 3.3 +netaddr +netifaces diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 0000000..aea87ad --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,17 @@ +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. + +hacking>=3.0.1,<3.1.0 + +coverage!=4.4,>=4.0 # Apache-2.0 +flake8-import-order==0.12 # LGPLv3 +python-subunit>=1.0.0 # Apache-2.0/BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD +oslotest>=3.2.0 # Apache-2.0 +stestr>=1.0.0 # Apache-2.0 +testtools>=2.2.0 # MIT +openstackdocstheme>=1.20.0 # Apache-2.0 +# releasenotes +reno>=2.5.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..a8ead27 --- /dev/null +++ b/tox.ini @@ -0,0 +1,26 @@ +[tox] +minversion = 3.18.0 +envlist = pep8 +skipsdist = True +ignore_basepython_conflict = True + +[testenv] +basepython = python3 +usedevelop = True +setenv = + VIRTUAL_ENV={envdir} + PYTHONWARNINGS=default::DeprecationWarning + OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true} + OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true} + OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true} +deps = + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/test-requirements.txt +commands = stestr run --slowest {posargs} + +[testenv:pep8] +commands = + flake8 + +[testenv:venv] +commands = {posargs}