RETIRED, Part of OpenStack's Oslo project. New Oslo APIs go through an incubation phase in this repository before being released as part of a proper Python library.
Go to file
Pekelny Ilya 42ef1d7b9a Added opportunistic DB test cases
These test cases are meant to be run opportunistically within the
general test suite, i.e. only when openstack_citest database is
available (which is always true for our CI infrastructure, but might not
be true for developers machines). This is similar to how we run
migrations tests in all OpenStack projects

Blueprint: tests-given-db-backend
Change-Id: Ic3706763c8fc56c0fcf4d1964ed1c5f17a662be6
2013-11-26 14:48:35 +02:00
doc/source Convert unicode strings for python3 portability 2013-05-07 11:55:56 -05:00
etc/oslo Remove unused etc/openstack-common.conf.test 2013-01-21 13:10:53 +00:00
openstack The ability to run tests at various backend 2013-11-26 14:48:32 +02:00
pypi Update references with new Mailing List location 2013-07-29 08:56:33 -07:00
tests Added opportunistic DB test cases 2013-11-26 14:48:35 +02:00
tools Remove vim header 2013-11-25 12:16:11 +08:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore Add eclipse project files to .gitignore 2013-07-18 22:45:38 +00:00
.gitreview Correcting openstack-common mv to oslo-incubator. 2012-11-11 23:44:12 +00:00
.mailmap Update mailmap for Joe Gordon 2013-10-28 10:11:02 +00:00
.testr.conf The ability to run tests at various backend 2013-11-26 14:48:32 +02:00
HACKING.rst Update URL for global HACKING document 2013-11-11 10:36:08 -08:00
LICENSE Add missing LICENSE file 2013-04-23 16:31:36 -04:00
MAINTAINERS Merge "Adds common image utils" 2013-10-15 10:30:22 +00:00
MANIFEST.in Don't include versioninfo in manifest. 2013-01-14 03:17:32 -08:00
README.rst The ability to run tests at various backend 2013-11-26 14:48:32 +02:00
requirements.txt Drop dependency on lockutils from oslo db code 2013-11-14 16:14:15 +02:00
run_tests.sh Move ./run_tests.sh to Oslo 2013-08-13 18:06:11 +03:00
setup.cfg Migrate to pbr. 2013-05-17 08:40:49 -07:00
setup.py Update requirements 2013-08-21 09:59:25 +02:00
test-requirements.txt Update requirements 2013-08-21 09:59:25 +02:00
TESTING.rst Creates a new file TESTING.rst. 2013-06-20 20:44:43 -04:00
tox.ini Have tox install via setup.py develop 2013-11-19 14:37:49 +02:00
update.py Remove vim header 2013-11-25 12:16:11 +08:00
update.sh readd update.sh to address bootstrapping issue 2013-02-20 08:45:12 -05:00

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:

https://wiki.openstack.org/wiki/Oslo

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.