19dc13131b7fe512cb7897a888093b5c9a62e69d
Commit Graph

68 Commits

Author SHA1 Message Date
Vishvananda Ishaya
19dc13131b move the deletion of the db into fixtures 2011年02月23日 12:00:02 -08:00
Vishvananda Ishaya
0addb1147f merged upstream 2011年02月23日 11:56:37 -08:00
Vishvananda Ishaya
b09534dac0 put the redirection back in to run_tests.sh and fix terminal colors by using original stdout 2011年02月23日 11:52:10 -08:00
Vishvananda Ishaya
3c09d486f8 use flags for sqlite db names and fix flags in dhcpbridge 2011年02月23日 11:20:52 -08:00
Vishvananda Ishaya
60ed7c9c52 fix failures 2011年02月23日 00:59:15 -08:00
Vishvananda Ishaya
af34f45855 update based on prereq branch 2011年02月21日 16:22:24 -08:00
Vishvananda Ishaya
11c57867ec fixed newline and moved import fake_flags into run_tests where it makes more sense 2011年02月21日 16:19:48 -08:00
Vishvananda Ishaya
71f7119910 remove changes to test db 2011年02月21日 16:05:28 -08:00
Vishvananda Ishaya
90007cd908 pretty colors for logs and a few optimizations 2011年02月21日 15:55:50 -08:00
Vishvananda Ishaya
29644fe5a9 switch to explicit call to logging.setup() 2011年02月21日 13:46:41 -08:00
Vishvananda Ishaya
c7d83e26f7 use tests.sqlite so it doesn't conflict with running db 2011年02月21日 11:42:46 -08:00
Vishvananda Ishaya
106eb47eff fixes for various logging errors and issues 2011年02月20日 23:16:10 -08:00
termie
f3652fd481 add logging.basicConfig() to tests 2011年01月30日 21:38:58 -08:00
Soren Hansen
b2ec5bf282 Pass a PluginManager to nose.config.Config(). This lets us use plugins like coverage, xcoverage, etc. 2011年01月20日 15:05:55 +01:00
Andy Smith
7f352a7233 move db sync into nosetests package-level fixtures so that the existing nosetests attempt in hudson will pass 2011年01月18日 17:32:54 -08:00
Andy Smith
4f5c0c64ec add support for database migration 2011年01月12日 16:57:04 -08:00
termie
384da35986 change exit code 2010年12月30日 13:31:56 -08:00
termie
7e469690f0 Output of run_tests.sh to be closer to trial 2010年12月28日 01:40:24 -08:00
Eric Day
8c343e1b4b First pass at converting run_tests.py to nosetests. The network and objctstore tests don't yet work. Also, we need to manually remove the sqlite file between runs. 2010年12月16日 17:05:54 -08:00
termie
40dd925070 merged from upstream 2010年12月15日 11:02:33 -08:00
termie
a2a8406b5d updates per review 2010年12月14日 16:05:39 -08:00
a6645d8a43 Initial i18n commit for endpoints. All endpoints must install
gettext, which injects the _ function into the builtins.
2010年12月11日 15:10:24 -05:00
Andy Smith
a1640f3528 formatting and naming cleanup 2010年12月09日 16:05:13 -08:00
Andy Smith
3b376b8ad1 get service unittests runnning again 2010年12月09日 15:19:56 -08:00
Andy Smith
3c85f1b7ed intermediate commit to checkpoint progress
all relevant tests are passing except volume, next step is volume manager fixery
2010年12月08日 17:18:27 -08:00
Soren Hansen
3b695e11da Added a .mailmap that maps addresses in bzr to people's real, preferred
e-mail addresses. (I made a few guesses along the way, feel free to
adjust according to what is actually the preferred e-mail)
Added a couple of methods to nova.utils to parse said .mailmap and do
the appropriate (though highly naïve) replacement.
Apply mailmap replacement in changelog generation in setup.py.
Add a unit test that checks everyone is properly listed in Authors.
Add sleepsonthefloor to Authors. If anyone knows the real name, please
add it.
2010年11月11日 19:52:36 -06:00
Andy Smith
c0f050c54f Fix the --help flag for printing help on twistd-based services 2010年10月15日 22:04:14 +00:00
Andy Smith
8b2d1143f5 make --help work for twistd-based services 2010年10月15日 19:27:39 +09:00
Soren Hansen
3f737b0a84 Move Redis code into fakeldap, since it's the only thing that still uses it.
Adjust auth unittests to skip fakeldap tests if Redis isn't around.
Adjust auth unittests to actually run the fakeldap tests if Redis /is/ around.
2010年10月14日 15:07:37 +02:00
Soren Hansen
e0dff8694e Merge trunk. 2010年10月12日 22:04:46 +02:00
Soren Hansen
a374efd4cc Run the virt tests by default. 2010年10月05日 10:06:54 +02:00
Soren Hansen
3e8c19c42b Merge trunk 2010年09月24日 10:25:29 +02:00
Soren Hansen
41fa6058f9 Merge trunk. 2010年09月22日 21:36:15 +02:00
Soren Hansen
d42e168763 Merge trunk 2010年09月22日 13:26:36 +02:00
Michael Gundlach
ffa426d68b Reenable access_unittest now that it works with new rbac 2010年09月21日 16:58:08 -04:00
Michael Gundlach
dff6c134cb Fix quota unittest and don't run rbac unit tests for the moment 2010年09月21日 14:00:17 -04:00
Vishvananda Ishaya
a6349713d6 merged quotas 2010年09月11日 18:45:35 -07:00
Soren Hansen
c3dd0aa79d First pass of nwfilter based security group implementation. It is not where it is supposed to be and it does not actually do anything yet. 2010年09月10日 14:56:36 +02:00
Vishvananda Ishaya
c577e91ee3 database support for quotas 2010年09月09日 20:10:31 -07:00
Vishvananda Ishaya
9bab02f79e more scheduler tests 2010年09月02日 16:59:41 -07:00
Vishvananda Ishaya
450eac9e6c removed dangling files 2010年09月02日 14:43:02 -07:00
Vishvananda Ishaya
7edff9298f scheduler + unittests 2010年09月02日 11:32:37 -07:00
andy
6f5aa18747 Add db abstraction and unittets for service.py.
Also cleans up some style pieces.
2010年08月21日 14:10:36 +02:00
Vishvananda Ishaya
f7c556324d fixing more network issues 2010年08月18日 17:38:51 -07:00
andy
d508418214 rather comprehensive style fixes 2010年08月16日 14:16:21 +02:00
Vishvananda Ishaya
a679cab031 make rpc.call propogate exception info. Includes tests 2010年08月12日 21:27:53 -07:00
andy
e119914031 Add some useful features to our flags
* No longer dies if there are unknown flags.
* Allows you to declare that you will use a flag from another file
* Allows you to import new flags at runtime and reparses the original arguments to fill them once they are accessed.
This hopefully gets around the issues described by vish in this thread:
https://lists.launchpad.net/nova/msg00009.html 
2010年08月10日 04:54:09 +00:00
Eric Day
46c0f66d12 Cleaned up pep8/pylint for bin/* files. I did not fix rsapi since this is already cleaned up in another branch. 2010年08月07日 19:51:17 -07:00
andy
9dfdbe11b8 Add some useful features to our flags
* No longer dies if there are unknown flags.
* Allows you to declare that you will use a flag from another file
* Allows you to import new flags at runtime and reparses the original
 arguments to fill them once they are accessed.
2010年07月29日 19:53:00 +02:00
Vishvananda Ishaya
fe4ba7d896 merged trunk 2010年07月27日 13:08:22 -07:00