Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: I07b1fbf01f96c024b25178e42a4dd566b905c103
This commit introduces flake8-import-order to check import orders
automatically. We shouldn't do it manually.
Depends-On: Ia2140f5566ce169b076ffa5c9ebfbdbfc41e5bed
Change-Id: Iff75ebec42b295870edd1c04001adfb17460a682
According to [1] "New test cases should be implemented using Mock.
It is part of the Python standard library in Python 3 and as such
is the preferred method for OpenStack." So let's kill Mox in favor
of Mock.
[1] http://docs.openstack.org/infra/manual/developers.html#peer-review
Change-Id: I0db1cf3969a8d5ae90e1a13330799e69c7751207
Tempest is going to be on pypi and expose a stable interface in
the tempest.lib namespace, so adding reno to it.
Partially-implements: bp tempest-lib-reintegration
Change-Id: Ice4c27f7bc6d0154cfced9789f3c82236106a9e3
This commit starts the basic framework for using external plugins in
tempest. It adds a new singleton class to load the plugins once from
stevedore and also provides an interface for different steps in the
tempest execution to use plugins as well as in-tree code.
As part of this an ABC abstract class is created to simplify the
plugin side creation. Eventually the expectation is that this
abstract class will live in tempest-lib. But, for right now while
this feature is still experimental and under development this will
likely change frequently so it'll live in tempest for the time being.
Partially Implements bp external-plugin-interface
Change-Id: I8ebabdb4ce9f4d3b3aca375158835f907d5ca315
This was added to work around bug 1091333. A new sphinx has been
released and so this is no longer necessary.
Change-Id: I6ea61a3cc441dd1ca2ced7e2fd837a55b917f76d
The Oslo config generator imports the stevedore.named module but
stevedore isn't listed as a requirement for Tempest, so config
generation can fail with an ImportError.
Closes-Bug: #1333998
Change-Id: I47ecac0f5881aceb279391a981780a2dd72f0d2b
Hacking 0.9.0 had a minor bug so require 0.9.1 or higher.
In order to keep this patch to just a requirements bump, ignore new and
stricter hacking rules that are being triggered. Fixing up the code and
turning these on is out of scope of this patch and is for future patches.
Change-Id: Iafbd4adae8c6b446d53b62dfc490eab8e76a43ac
This commit starts using the oslotest library. The fixture
oslo-incubator library is still left in the tree because I didn't
see the Config fixture in the library tree yet.
Also, it's probably worth noting that if the lock fixture is moved
from incubator to the library that oslotest will become a runtime
requirement on tempest. (which probably means we'll want to install
it from git in the gate)
Change-Id: I638f28975dff4cde2e4eaa6c154a41e66a0746e4
mock is used by the oslo incubator test fixtures in mockpatch. So this
patch ensures it gets installed by adding it to the test requirements
list.
Change-Id: Ib3a1a074143595247790084c04edfc36e19cd94f
hacking 0.8 brings us a working H302 rule (should import modules
not objects) and a bunch of python 3 compat rules.
fix the python 3 compat issues to make this landable.
Change-Id: I53abf39394afc54da5ad049802dca0032f14882d
This commit adds a base test class for the tempest unit tests. The
base class uses fixtures to capture STDOUT and STDERR as well as
providing an interface to use mox to stubout tests.
Change-Id: Ia60cccd77cfb6489f888ff088351fe267115a22f
This commit updates the docs conf.py to make it more closely resemble
what is used it other projects(based on nova's equivilent file). It
also removes listing Sean Dague as the sole author for the Tempest
docs because it is a collaborative effort. It also fixes a pep8
failure on the imports.
Change-Id: I535858dc9d413e8d5f92d44194137f615390d117
This commit just syncs the tempest requirement list with what's in
the global requirements repo. We are already using them for running
in the gate and with devstack so there isn't a reason to update the
lists in the tempest repo. This commit also adds jsonschema to the
list of requirements. It was removed at one point because it caused
an issue with grenade but since the global requirements fix ups this
is no longer an issue.
Fixes bug 1205980
Change-Id: I406eddc0b2363c98035edef6fc651228a2bdd04f