sobjects/test/unittest_parsers.py
branchstable
changeset 7689 a86fd3ec322e
parent 7553 935423529f45
child 7698 1c7411535c2d
--- a/sobjects/test/unittest_parsers.py	Tue Jul 26 10:33:26 2011 +0200
+++ b/sobjects/test/unittest_parsers.py	Tue Jul 26 11:01:17 2011 +0200
@@ -144,6 +144,10 @@
                          'http://www.cubicweb.org/cwuser?relation=tags-object&relation=in_group-subject&relation=in_state-subject&relation=use_email-subject&vid=xml')
         self.assertEqual(parser.complete_url('http://www.cubicweb.org/cwuser?vid=rdf&relation=hop'),
                          'http://www.cubicweb.org/cwuser?relation=hop&relation=tags-object&relation=in_group-subject&relation=in_state-subject&relation=use_email-subject&vid=rdf')
+        self.assertEqual(parser.complete_url('http://www.cubicweb.org/?rql=cwuser&vid=rdf&relation=hop'),
+                         'http://www.cubicweb.org/?rql=cwuser&relation=hop&vid=rdf')
+        self.assertEqual(parser.complete_url('http://www.cubicweb.org/?rql=cwuser&relation=hop'),
+                         'http://www.cubicweb.org/?rql=cwuser&relation=hop&vid=xml')
 
 
     def test_actions(self):