Begin moving tempest nova CLI tests out of tempest and into this repo
using tempest-lib. This patch adds the framework to run the functional
tests, later patches will port the existing tempest tests.
Use standard OpenStack environment variables to get keystone auth
Keystone client is required by nova client and needs to be in
requirements.txt. It is currently in test-requirements.txt but also
needs to be in install requirements.
Change Ief6cd7e752fd8c9e9157364f99e270da7faff074 introduced the
requirement for keystone client.
We've had some trouble with httpretty in the past and so are moving to
requests-mock. There should be no functionality change in this patch,
simply a transition to a newer library.
- Python 2/3 inconsistencies
- Breaking compatibility between releases
- Incorrect package dependency specifications
- Problems with distro packaging around tests
- *can* introduce a maintained state between tests.
The session object is a cross-client means of standardizing the
Novaclient's HTTPClient object has diverged significantly from other
clients. It is easier to simply replace it if a session is provided. If
a session is provided then users of the library need to be aware that
functions such as authenticate() will no longer have any effect/are in
error because this is no longer managed by nova.
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
This is the first in the series and so contains some setup classes. In
general the original data will not be able to be removed from fakes
until the very end because testing shell depends on a lot of it.
The python community groks requirements.txt and test-requirements.txt as
reasonably standard files. We should use those filenames to make our
information more discoverable.
Fixes bug 1179008