c007356a78
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
18 lines
196 B
Plaintext
18 lines
196 B
Plaintext
vagrant/
|
|
*.pyc
|
|
.idea
|
|
reddwarf_test.sqlite
|
|
.venv
|
|
run_tests.log
|
|
guest-agent-files.txt
|
|
reddwarf.egg*
|
|
reddwarf/vcsversion.py
|
|
*py*.egg
|
|
.coverage
|
|
covhtml/
|
|
.DS_Store
|
|
host-syslog.log
|
|
tags
|
|
.tox
|
|
rdtest.log
|