pip dropped the -E option as of 1.1; now to install in a virtualenv,
you just explicitly activate the virtualenv. This commit fakes the
same behavior of explicitly specifying a virtualenv for installation
by altering tools/with_venv.sh to optionally take the -E flag
Fixes Bug #1081200
Change-Id: I470ba9563864337b8af2a79ae463e269ba66bf8f
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
This gets rid of the misleading tests in this repo which have not been
relied on for most of this project's life (for historical reasons, tests
are currently stored in the reddwarf_lite-integration repo).
Change-Id: Ic452396ac50ea252bbd34d41638c2f337da3ed2a