6ff6b4b4a5
keystone client/middleware, nova all have tests that mock utcnow when we introduce oslo.utils into those projects, we have test failures because of references to copies of timeutils/utcnow in for example memorycache. So the best way to deal with it is to ensure that all code in oslo-incubator refer to oslo.utils. Added a note in the deprecated code so when folks sync, they will be aware of it. Per the new process, we will not be keeping graduated files around on the master branch of incubator. Closes-Bug: #1354521 Closes-Bug: #1371713 Change-Id: If80e66c7dae1bfcda8e884c57b7086f34d026040 |
||
---|---|---|
doc/source | ||
etc | ||
openstack | ||
pypi | ||
tests | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MAINTAINERS | ||
MANIFEST.in | ||
README.rst | ||
TESTING.rst | ||
obsolete.txt | ||
requirements-py3.txt | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements-py3.txt | ||
test-requirements.txt | ||
tox.ini | ||
update.py | ||
update.sh |
README.rst
The Oslo Incubator
The Oslo program produces a set of python libraries containing infrastructure code shared by OpenStack projects. The APIs provided by these libraries should be high quality, stable, consistent and generally useful.
The process of developing a new Oslo API usually begins by taking code which is common to some OpenStack projects and moving it into this repository. Incubation shouldn't be seen as a long term option for any API - it is merely a stepping stone to inclusion into a published Oslo library.
For more information, see our wiki page:
Running Tests
To run tests in virtualenvs (preferred):
sudo pip install tox
tox
To run tests in the current environment:
sudo pip install -r requirements.txt
nosetests
To run tests using MySQL or PostgreSQL as a DB backend do:
OS_TEST_DBAPI_ADMIN_CONNECTION=mysql://user:password@host/database tox -e py27
Note, that your DB user must have permissions to create and drop databases.