changeset 3453:12a285b30b81

tests: fix new StatsChart test (create correct request environment including request.page)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 30 Mar 2008 18:27:47 +0200
parents 0162ba60f379
children 63fccc14c263
files MoinMoin/macro/_tests/test_StatsChart.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/_tests/test_StatsChart.py	Sun Mar 30 18:59:56 2008 +0200
+++ b/MoinMoin/macro/_tests/test_StatsChart.py	Sun Mar 30 18:27:47 2008 +0200
@@ -43,6 +43,7 @@
         p = Parser("##\n", self.request)
         p.formatter = Formatter(self.request)
         p.formatter.page = self.page
+        self.request.page = self.page
         self.request.formatter = p.formatter
         p.form = self.request.form
         m = macro.Macro(p)