# HG changeset patch # User Sverre Rabbelier # Date 1247954292 25200 # Node ID 833785d10ecfce8aecf5002ef65d58c0952d4076 # Parent 03fcd4812eaa4755cf748a681ccdfeac3eb2dc9a register a core for the test modules to use diff -r 03fcd4812eaa -r 833785d10ecf tests/run.py --- a/tests/run.py Wed Jul 15 17:11:17 2009 +0200 +++ b/tests/run.py Sat Jul 18 14:58:12 2009 -0700 @@ -87,6 +87,13 @@ import django.test.utils django.test.utils.setup_test_environment() + # register a core for the test modules to use + from soc.modules import callback + from soc.modules import core + + callback.registerCore(core.Core()) + callback.getCore().registerModuleCallbacks() + from nose.plugins import cover plugin = cover.Coverage() nose.main(plugins=[AppEngineDatastoreClearPlugin(), plugin])