bb4f7129e945602a8e830520e7877a33b2539530
Commit Graph

84 Commits

Author SHA1 Message Date
Vishvananda Ishaya
9978d656d2 only create the db if it doesn't exist, add an option -r to run_tests.py to delete it 2011年06月25日 17:26:38 -07:00
Lorin Hochstein
64942d92f3 Fix for a problem where run_tests.sh would output a seemingly unrelated error message when there was a sqlalchemy-migrate version number conflict 2011年06月17日 10:17:07 -04:00
Rick Harris
4d5a73bf7c Show only if we have slow tests, elapsed only if test success 2011年06月15日 04:05:37 +00:00
Rick Harris
43dd1ec608 Showing elapsed time is now default 2011年06月15日 01:21:11 +00:00
Rick Harris
3368a35ff9 Removing seconds unit 2011年06月15日 00:08:19 +00:00
Rick Harris
f46c9d7c96 Making timing points stricter, only show slow/sluggish tests in summary 2011年06月14日 16:39:37 +00:00
Rick Harris
00071a6e0b Adds --show-elapsed option for run_tests 2011年06月14日 01:21:08 +00:00
Vishvananda Ishaya
498638ce36 make smoketests run with nose 2011年02月24日 17:17:42 -08:00
Vishvananda Ishaya
e7ed4e198e merge clean db 2011年02月24日 16:53:22 -08:00
Vishvananda Ishaya
78eddce564 added comments about where code came from 2011年02月23日 15:42:59 -08:00
Vishvananda Ishaya
9c1f1c7288 merge and fix conflicts 2011年02月23日 15:37:00 -08:00
Vishvananda Ishaya
c27c19ea31 fix pep8 2011年02月23日 15:35:30 -08:00
Vishvananda Ishaya
80970a82f1 merged upstream 2011年02月23日 15:32:31 -08:00
Vishvananda Ishaya
5e2f82b148 revert logfile redirection and make colors work by temporarily switching stdout 2011年02月23日 15:29:02 -08:00
Vishvananda Ishaya
f4c95e1f18 merged trunk 2011年02月23日 15:27:54 -08:00
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
termie
d160455b77 allow users to omit 'nova.tests' with run_tests 2011年02月23日 08:45:27 -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