diff MoinMoin/_tests/test_wikiutil.py @ 2706:d2d4e74978bd

remove superfluous request parameter from AbsPageName/RelPageName
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 21 Aug 2007 18:47:29 +0200
parents 4a4d84273ae1
children 4c95862bf9ef
line wrap: on
line diff
--- a/MoinMoin/_tests/test_wikiutil.py	Tue Aug 21 18:40:59 2007 +0200
+++ b/MoinMoin/_tests/test_wikiutil.py	Tue Aug 21 18:47:29 2007 +0200
@@ -752,14 +752,14 @@
             yield self._check_abs_pagename, current_page, relative_page, absolute_page
 
     def _check_abs_pagename(self, current_page, relative_page, absolute_page):
-        assert absolute_page == wikiutil.AbsPageName(None, current_page, relative_page)
+        assert absolute_page == wikiutil.AbsPageName(current_page, relative_page)
 
     def test_rel_pagename(self):
         for (current_page, relative_page), absolute_page in self.tests:
             yield self._check_rel_pagename, current_page, absolute_page, relative_page
 
     def _check_rel_pagename(self, current_page, absolute_page, relative_page):
-        assert relative_page == wikiutil.RelPageName(None, current_page, absolute_page)
+        assert relative_page == wikiutil.RelPageName(current_page, absolute_page)
 
 
 coverage_modules = ['MoinMoin.wikiutil']