In reddwarf's setup.py, the method setuptool.setup() currently accepts a parameter for namespace_packages, and it shouldn't.
Change-Id: Ica1fbebd5cbd5943c3a1b322d14a280737bc0542
fixes: bug #1136189
Now they work better and also include coverage for the tests invoked by testr.
Change-Id: Ia48cf4664ce9ec46f7ef21929b0d87cad4149580
Fixes: bug #1103637
The tests come from the Reddwarf Integration repository. wsgi_intercept
is used to allow the test code to hit the server code directly. It also
properly sets up the SqlLite database before each run.
* Adds an "event simulator" which queues up functions that would
normally be spawned with eventlet. The various sleep functions are
then swapped with a method that runs these faux-events.
* Adds many of the Reddwarf Integration tests. The idea is these
could still run in a richer, real environment, but are running here
enables us to quickly check feature breaks for each commit and
lowers the learning curve necessary to test the API. The downside
is some of these tests still have artifacts of their origins, such
as (unused) classes to connect to MySQL databases. Some more work
will be necessary to separate the "real mode" functionality of these
tests further.
Implements: blueprint tox-tests
Change-Id: I9857f265c1cb46832906ef5e6a0c7bb4a092e637