Commits

lakin.wecker committed c21971f

cleaning up whitespace.

Comments (0)

Files changed (1)

         # Pre decoded unicode.
         q = pyrqlate.parse(u'id=орлов')
         self.assertEqual(pyrqlate.deparse(q), u'id=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
-    
+
     #---------------------------------------------------------------------------
     def test_ne_parse(self):
-        
+
         q = pyrqlate.parse('id!=1')
         self.assertEqual(pyrqlate.deparse(q), 'id=ne=1')
 
         # UTF-8 encoded unicode.
         q = pyrqlate.parse('id=ne=орлов')
         self.assertEqual(pyrqlate.deparse(q), 'id=ne=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
-        
+
         # UTF-8 encoded and URL quoted.
         q = pyrqlate.parse('id=ne=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
         self.assertEqual(pyrqlate.deparse(q), 'id=ne=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
 
     #---------------------------------------------------------------------------
     def test_lt_parse(self):
-       
+
         q = pyrqlate.parse('id<1')
         self.assertEqual(pyrqlate.deparse(q), 'id=lt=1')
- 
+
         q = pyrqlate.parse('id=lt=1')
         self.assertEqual(pyrqlate.deparse(q), 'id=lt=1')
         q = pyrqlate.parse('id=lt=eagles')
         # UTF-8 encoded unicode.
         q = pyrqlate.parse('id=lt=орлов')
         self.assertEqual(pyrqlate.deparse(q), 'id=lt=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
-        
+
         # UTF-8 encoded and URL quoted.
         q = pyrqlate.parse('id=lt=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
         self.assertEqual(pyrqlate.deparse(q), 'id=lt=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
 
     #---------------------------------------------------------------------------
     def test_le_parse(self):
-        
+
         q = pyrqlate.parse('id<=1')
         self.assertEqual(pyrqlate.deparse(q), 'id=le=1')
-        
+
         q = pyrqlate.parse('id=le=1')
         self.assertEqual(pyrqlate.deparse(q), 'id=le=1')
         q = pyrqlate.parse('id=le=eagles')
         # UTF-8 encoded unicode.
         q = pyrqlate.parse('id=le=орлов')
         self.assertEqual(pyrqlate.deparse(q), 'id=le=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
-        
+
         # UTF-8 encoded and URL quoted.
         q = pyrqlate.parse('id=le=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
         self.assertEqual(pyrqlate.deparse(q), 'id=le=%D0%BE%D1%80%D0%BB%D0%BE%D0%B2')
 
     #---------------------------------------------------------------------------
     def test_gt_parse(self):
-        
+
         q = pyrqlate.parse('id>1')
         self.assertEqual(pyrqlate.deparse(q), 'id=gt=1')
-        
+
         q = pyrqlate.parse('id=gt=1')
         self.assertEqual(pyrqlate.deparse(q), 'id=gt=1')
         q = pyrqlate.parse('id=gt=eagles')
 
     #---------------------------------------------------------------------------
     def test_ge_parse(self):
-        
+
         q = pyrqlate.parse('id>=1')
         self.assertEqual(pyrqlate.deparse(q), 'id=ge=1')
-        
+
         q = pyrqlate.parse('id=ge=1')
         self.assertEqual(pyrqlate.deparse(q), 'id=ge=1')
         q = pyrqlate.parse('id=ge=eagles')
 
         q = pyrqlate.parse('id=1|(name=eagle|age=1)')
         self.assertEqual(pyrqlate.deparse(q), 'id=1|(name=eagle|age=1)')
-       
-    #--------------------------------------------------------------------------- 
+
+    #---------------------------------------------------------------------------
     def test_empty_parse(self):
         q = pyrqlate.parse('')
         self.assertEqual(pyrqlate.Query, type(q))