tests/run.py
changeset 2662 833785d10ecf
parent 2402 c4958af14634
child 2917 b9f600436e89
--- 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])