[tracker/IorR-null-support: 11/12] tests: Fix whitespace issues in new test



commit b03ee91a78b3bc933e8a30a7b24a7f28d2ef0d2d
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Aug 15 16:03:21 2011 +0200

    tests: Fix whitespace issues in new test

 tests/functional-tests/01-insertion.py |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/tests/functional-tests/01-insertion.py b/tests/functional-tests/01-insertion.py
index 1d72d55..b9cc3bb 100755
--- a/tests/functional-tests/01-insertion.py
+++ b/tests/functional-tests/01-insertion.py
@@ -575,7 +575,7 @@ class TrackerStoreInsertionTests (CommonTrackerStoreTest):
 
                 # null upfront, reset of list, rewrite of new list
                 self.tracker.update("""INSERT OR REPLACE { <test://instance-null> nie:dataSource null, <test://instance-ds1>, <test://instance-ds2> }""")
-                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")			
+                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")
                 self.assertEquals (len (result), 2)
                 self.assertEquals (len (result[0]), 1)
                 self.assertEquals (len (result[1]), 1)
@@ -584,7 +584,7 @@ class TrackerStoreInsertionTests (CommonTrackerStoreTest):
 
                 # null upfront, reset of list, rewrite of new list, second test
                 self.tracker.update("""INSERT OR REPLACE { <test://instance-null> nie:dataSource null, <test://instance-ds1>, <test://instance-ds2>, <test://instance-ds3> }""")
-                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")			
+                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")
                 self.assertEquals (len (result), 3)
                 self.assertEquals (len (result[0]), 1)
                 self.assertEquals (len (result[1]), 1)
@@ -595,7 +595,7 @@ class TrackerStoreInsertionTests (CommonTrackerStoreTest):
 
                 # null in the middle, rewrite of new list
                 self.tracker.update("""INSERT OR REPLACE { <test://instance-null> nie:dataSource <test://instance-ds1>, null, <test://instance-ds2>, <test://instance-ds3> }""")
-                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")			
+                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")
                 self.assertEquals (len (result), 2)
                 self.assertEquals (len (result[0]), 1)
                 self.assertEquals (len (result[1]), 1)
@@ -604,22 +604,22 @@ class TrackerStoreInsertionTests (CommonTrackerStoreTest):
 				
                 # null at the end
                 self.tracker.update("""INSERT OR REPLACE { <test://instance-null> nie:dataSource <test://instance-ds1>, <test://instance-ds2>, <test://instance-ds3>, null }""")
-                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")			
+                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")
                 self.assertEquals (len (result), 0)
 	
                 # Multiple nulls
                 self.tracker.update("""INSERT OR REPLACE { <test://instance-null> nie:dataSource null, <test://instance-ds1>, null, <test://instance-ds2>, <test://instance-ds3> }""")
-                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")			
+                result = self.tracker.query ("""SELECT ?ds WHERE { <test://instance-null> nie:dataSource ?ds }""")
                 self.assertEquals (len (result), 2)
                 self.assertEquals (len (result[0]), 1)
                 self.assertEquals (len (result[1]), 1)
                 self.assertEquals (result[0][0], "test://instance-ds2")
                 self.assertEquals (result[1][0], "test://instance-ds3")
 	
-                self.tracker.update ("""DELETE { <test://instance-null> a rdfs:Resource. }""")				
-                self.tracker.update ("""DELETE { <test://instance-ds1> a rdfs:Resource. }""")				
-                self.tracker.update ("""DELETE { <test://instance-ds2> a rdfs:Resource. }""")				
-                self.tracker.update ("""DELETE { <test://instance-ds3> a rdfs:Resource. }""")				
+                self.tracker.update ("""DELETE { <test://instance-null> a rdfs:Resource. }""")
+                self.tracker.update ("""DELETE { <test://instance-ds1> a rdfs:Resource. }""")
+                self.tracker.update ("""DELETE { <test://instance-ds2> a rdfs:Resource. }""")
+                self.tracker.update ("""DELETE { <test://instance-ds3> a rdfs:Resource. }""")
 
 class TrackerStoreDeleteTests (CommonTrackerStoreTest):
         """



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]