62 Commits

Author SHA1 Message Date
termie
d160455b77 allow users to omit 'nova.tests' with run_tests 2011-02-23 08:45:27 -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
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
jaypipes@gmail.com
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
Vishvananda Ishaya
3b982f62bb refactor daemons to use common base class in preparation for network refactor 2010-07-21 14:42:22 -05:00
Vishvananda Ishaya
8ef16679e0 Merged trunk. Fixed new references to UserManager 2010-07-19 20:27:44 -05:00
Vishvananda Ishaya
a3ca587654 Massive refactor of users.py
Split users.py into manager.py and ldpadriver.py
Added tons of docstrings
Cleaned up public methods
Simplified manager singleton handling
2010-07-19 13:19:26 -05:00
Jay Pipes
d52925f1f3 Redirect STDERR to output to an errlog file when running run_tests.py.
Adds a flag option for specifying the output file and adds a bzr ignore rule to disregard the generated logfile.
2010-07-19 08:37:28 +00:00
Jay Pipes
c3505507a5 Adds a flag to redirect STDERR when running run_tests.py. Defaults to a truncate-on-write logfile named run_tests.err.log. Adds ignore rule for generated errlog file. 2010-07-16 10:03:22 -05:00
Jesse Andrews
c8fdce0110 remove import of vendor since we have PPA now 2010-07-15 11:07:40 -05:00