changeset 4954:043baa5879b3

merged moin/1.8
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 20 Aug 2009 15:08:50 +0200
parents 3be35ace8aca (current diff) ca4d2f593508 (diff)
children b16cea282fe0
files MoinMoin/conftest.py MoinMoin/macro/_tests/test_GetVal.py MoinMoin/userprefs/prefs.py contrib/googleimport/googlepush.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/_tests/test_GetVal.py	Wed Aug 19 23:06:40 2009 +0200
+++ b/MoinMoin/macro/_tests/test_GetVal.py	Thu Aug 20 15:08:50 2009 +0200
@@ -47,9 +47,9 @@
     def testGetValACLs(self):
         """ macro GetVal test: 'cant read VAR on an ACL protected page' """
         py.test.skip("user has no rights to create acl pages")
-        self.page = create_page(self.request, self.pagename,
-                                '#acl SomeUser:read,write All:delete\n VAR:: This is an example')
-        result = self._test_macro(u'GetVal', "%s,%s" % (self.pagename, u'VAR'))
+        page = create_page(self.request, self.pagename,
+                           '#acl SomeUser:read,write All:delete\n VAR:: This is an example')
+        result = self._test_macro(u'GetVal', "%s,%s" % (self.pagename, u'VAR'), page)
         assert result == "&lt;&lt;GetVal: You don't have enough rights on this page&gt;&gt;"
 
 coverage_modules = ['MoinMoin.macro.GetVal']