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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nikita Konovalov c802fa66f8 SQLAlchemy error patterns improved 9 years ago
doc/source Convert unicode strings for python3 portability 10 years ago
etc/oslo Remove unused etc/openstack-common.conf.test 10 years ago
openstack SQLAlchemy error patterns improved 9 years ago
pypi Update references with new Mailing List location 9 years ago
tests Merge "db.sqlalchemy.session add [sql].idle_timeout" 9 years ago
tools Replace data structures' attribute with six module 9 years ago
.coveragerc Update .coveragerc 10 years ago
.gitignore Add eclipse project files to .gitignore 10 years ago
.gitreview Correcting openstack-common mv to oslo-incubator. 10 years ago
.mailmap Update mailmap for Joe Gordon 9 years ago
.testr.conf The ability to run tests at various backend 9 years ago
HACKING.rst Update URL for global HACKING document 9 years ago
LICENSE Incorporating MIT licensed code 9 years ago
MAINTAINERS Merge "Remove authutils" 9 years ago
MANIFEST.in Don't include versioninfo in manifest. 10 years ago
README.rst The ability to run tests at various backend 9 years ago
TESTING.rst Creates a new file TESTING.rst. 10 years ago
requirements.txt Updated from global requirements 9 years ago
run_tests.sh Move `./run_tests.sh` to Oslo 9 years ago
setup.cfg Add IgnoreAttemptedHostsFilter to oslo 9 years ago
setup.py Updated from global requirements 9 years ago
test-requirements.txt Pin sphinx to <1.2 9 years ago
tox.ini Fix locking in migration tests 9 years ago
update.py Remove vim header 9 years ago
update.sh readd update.sh to address bootstrapping issue 10 years ago

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:

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.