comparison MoinMoin/_tests/test_PageEditor.py @ 3946:54fffaea4e22

Reapplied the changes done in 28442c70f757 to the page editor tests.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Fri, 15 Aug 2008 23:21:10 +0200
parents a86a245db9cb
children 0d6724b87856
comparison
equal deleted inserted replaced
3945:3a6be2089de9 3946:54fffaea4e22
208 208
209 def testCreateDictAndDeleteDictPage(self): 209 def testCreateDictAndDeleteDictPage(self):
210 """ 210 """
211 simple test if it is possible to delete a Dict page after creation 211 simple test if it is possible to delete a Dict page after creation
212 """ 212 """
213 become_trusted(self.request)
213 pagename = u'SomeDict' 214 pagename = u'SomeDict'
214 page = PageEditor(self.request, pagename, do_editor_backup=0) 215 page = PageEditor(self.request, pagename, do_editor_backup=0)
215 body = u"This is an example text" 216 body = u"This is an example text"
216 page.saveText(body, 0) 217 page.saveText(body, 0)
217 218