Manually call start and end in test_sidebar
Since we are not using a request directly we need to manually do the
set-up and tear-down required.
--- a/tests/app/soc/views/sidebar/test_sidebar.py Mon Sep 14 18:43:15 2009 +0200
+++ b/tests/app/soc/views/sidebar/test_sidebar.py Mon Sep 14 18:44:46 2009 +0200
@@ -36,4 +36,6 @@
"""Test that the sidebar builds and does not return None.
"""
+ callback.getCore().startNewRequest(None)
self.assertNotEqual(None, callback.getCore().getSidebar('id', None))
+ callback.getCore().endRequest(None, False)