changeset 3454:63fccc14c263

tests: fix test_text_csv test (create correct request environment including request.page)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 30 Mar 2008 19:17:06 +0200
parents 12a285b30b81
children f0aaecb1a44d
files MoinMoin/parser/_tests/test_text_csv.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/_tests/test_text_csv.py	Sun Mar 30 18:27:47 2008 +0200
+++ b/MoinMoin/parser/_tests/test_text_csv.py	Sun Mar 30 19:17:06 2008 +0200
@@ -34,6 +34,7 @@
         formatter = HtmlFormatter(request)
         formatter.setPage(page)
         page.formatter = formatter
+        request.page = page
         request.formatter = formatter
         parser = CSV_Parser(body, request, line_anchors=False)
         formatter.startContent('') # needed for _include_stack init