summaryrefslogtreecommitdiff
path: root/run_tests.py
Commit message (Collapse)AuthorAgeFilesLines
...
* ADD unit tests for guestagent/manager.pyAnna Shen2012-12-281-0/+1
| | | | | | BUG# 1090139 Change-Id: I745b42d3eee34bc37d1c92033b3bde15c12dafa7
* Update oslo codebase within reddwarf.Michael Basnight2012-12-181-42/+29
| | | | | | | | | | | | | | | | | | | * Updated logging,cfg,setup to new oslo * Split out the paste ini from the conf files * Modified reddwarf-api/server to use new modules * Modified reddwarf-manage to use new cfg * Added rpc helper for rpc services * Modified reddwarf-taskmanager to use rpc helper * Modified reddwarf-guestagent to use new rpc helper * Fixed guestagent api to use rpc proxy * Fixed taskmanager module to conform to new rpc * Updated guestagent manager/pkg to use new rpc * Updated api paste to use keystoneclient auth_token * Updated managers to use periodic tasks Implements: blueprint reddwarf/upgrade-oslo Change-Id: I9ad1b441eca855a4304454014ae746ec51bef8f3
* Adding some dbaas.py unittestsSteve Leon2012-12-141-0/+1
| | | | | | | | The tests added are createDB, deleteDB and deleteUser tracked in Bug #1090139 Change-Id: I811a85bfe37ec4282864ec81328dc40c9b15f4ef
* No longer import db_api while parsing db __init__.Tim Simpson2012-11-211-2/+4
| | | | | | | | | | | | The db_api field of reddwarf/db/__init__.py was grabbed by importing a module using utils.import_object. The imported module was always the sqlalchemy api module, which is nested under the file that imports it, which caused import errors in multiple contexts. This commit changes every use of db_api to call a function to load it first, which seems to fix these problems. Change-Id: I9515efe02831b521d7f14674e0a2913e476b207d Fixes: bug #1080706
* Adding tests to Reddwarf.Tim Simpson2012-11-191-357/+128
| | | | | | | | | | | | | | | | | | | | | | 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
* PEP8 on a comment and removed a log debug line.Ed Cranford2012-04-231-2/+2
|
* Adding the venv/unit test framework stuffmbasnight2012-02-221-0/+367
* run_tests stuff * gerrit stuff * test-requires for pip