changeset 4850:6241e92270b6

Groups2009: Indention removed in creole test for the MoinMoin.formatter.groups. Right del usage in the wiki_groups backend.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Tue, 14 Jul 2009 11:52:15 +0200
parents 0988f3da0c95
children 866fe615893f
files MoinMoin/datastruct/backends/wiki_groups.py MoinMoin/formatter/_tests/test_groups.py
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/datastruct/backends/wiki_groups.py	Tue Jul 14 09:26:14 2009 +0200
+++ b/MoinMoin/datastruct/backends/wiki_groups.py	Tue Jul 14 11:52:15 2009 +0200
@@ -81,7 +81,7 @@
         if request_page:
             self.request.page = request_page
         else:
-             del(self.request.page)
+            del self.request.page
 
         return formatter.members
 
--- a/MoinMoin/formatter/_tests/test_groups.py	Tue Jul 14 09:26:14 2009 +0200
+++ b/MoinMoin/formatter/_tests/test_groups.py	Tue Jul 14 11:52:15 2009 +0200
@@ -178,12 +178,12 @@
 
     def test_ignore_not_first_level_list(self):
         text = """
- * first level
- ** second level
- *** [[SomeLink]]
- **** forth level
- ***** and then some...
- * again first level
+* first level
+** second level
+*** [[SomeLink]]
+**** forth level
+***** and then some...
+* again first level
 """
         members = self.get_members(text)
         assert len(members) == 2