Use the oslo.db oportunistic test cases that run against MySQL and
PostgreSQL if they can connect. Otherwise the tests are skipped.
Change-Id: I734b6a7b394837910ce56e7382b5ea1700fe7d4b
Migrates Tuskar from common code to olso.db
Adds oslo.db to requirements.txt.
Adds oslotest to test-requirements.txt.
Adds EngineFacade lazy loading - inspired in ironic.
Updates imports and calls to adapt to moved code in oslo.db.
Updates import_opt calls parameters to reflect move configs.
Adds note to docs about setting up database.connection.
Regenerates tuskar.conf.sample.
Change-Id: I709209bc8ce82b7134d738da3a0fb609d02ffb8c
Closes-Bug: #1290849
This isn't needed to run the tests and I've run into problems on two
different F20 boxes trying to run tox with it present.
Change-Id: Iae07e98e2da13a30eae805c20e6e1a022fb3548e
Hacking pins the dep versions for flake8 and pep8, so we install it
first in the list to ensure something else doesn't pull in a different
version.
Change-Id: Idcb9c4318548297bba595e3df61452a7dc999297
This gets rid of the unnecessary option count at the end of the
file and ensures that the config groups are ordered in a repeatable
way so adding an option won't shuffle the entire sample config.
The new config generator uses stevedore so I added that to
test-requirements too.
Change-Id: I5fa0e21ca19a4736ebb3ea9c31b683be5324e052
Fixed a problem with the docs not even building and cleaned up the
sphinx warnings. Changed the directory structure to more closely
resemble other OpenStack projects. This doesn't address any of the
content yet, simply the structure and ability to build.
Change-Id: I2b00b12b7664d58d44994b9d0e23a55c96379c18
Direct depends on distribute are evil and can break python on entire
systems in certain combinations.
Change-Id: If96e415e5395f3cbc1babae0fe95b52dc51e5176
Our test cases use the `testtools` package which in turn relies on the
standard library `unittest` for the basic assert functions.
Unfortunately, Python 2.6's `unittest.TestCase` doesn't come with
`assertRegexpMatches` which we use in our tests. This caused the py26 Tox
environment to fail.
Adding `unittest2` (a backport of the 2.7 unittest for earlier versions) and
mixing it in with our base TestCase class adds the missing asserts.
Change-Id: Ifc69885421f167922b92a37f61dcab3db9665383
Signed-off-by: Tomas Sedovic <tsedovic@redhat.com>