changeset 820:58cefb9d2ffd pytest2

changed indentation and removed whitespaces in test_indexing to fix test_sourcecode failures
author pkumar <contactprashantat@gmail.com>
date Mon, 29 Aug 2011 17:55:58 +0530
parents 2eaf94a45adf
children dbff893bc33c
files MoinMoin/storage/_tests/test_indexing.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/storage/_tests/test_indexing.py	Mon Aug 29 17:45:28 2011 +0530
+++ b/MoinMoin/storage/_tests/test_indexing.py	Mon Aug 29 17:55:58 2011 +0530
@@ -14,7 +14,7 @@
 
 # Revisions for tests
 document_revs = [
-                 { "wikiname": u"Test",
+                 {"wikiname": u"Test",
                    "name": u"DocumentOne",
                    "uuid": u"68054804bd7141609b7c441143adf83d",
                    "rev_no": 0,
@@ -28,7 +28,7 @@
                    "address": u"127.0.0.1",
                    "hostname": u"localhost",
                  },
-                 { "wikiname": u"Test",
+                 {"wikiname": u"Test",
                    "name": u"DocumentOne",
                    "uuid": u"68054804bd7141609b7c441143adf83d",
                    "rev_no": 1,
@@ -53,7 +53,7 @@
         self.latest_revs_ix = self.item_index.index_object.latest_revisions_index
 
     def teardown_method(self, method):
-         self.item_index.remove_index()
+        self.item_index.remove_index()
 
     def test_create_item(self):
         """ Try to search for non-existent revision, add it to backend and then search again """