sobjects/test/unittest_parsers.py
branchstable
changeset 7701 e5ba5de1d485
parent 7700 0010dde5352a
child 7708 45be3a9debe6
--- a/sobjects/test/unittest_parsers.py	Tue Jul 26 16:50:02 2011 +0200
+++ b/sobjects/test/unittest_parsers.py	Tue Jul 26 16:50:06 2011 +0200
@@ -145,6 +145,8 @@
     def test_complete_url(self):
         dfsource = self.repo.sources_by_uri['myfeed']
         parser = dfsource._get_parser(self.session)
+        self.assertEqual(parser.complete_url('http://www.cubicweb.org/CWUser'),
+                         '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'),
                          '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'),