cubicweb/test/unittest_rset.py
changeset 11913 4516c3956d46
parent 11892 08cf02efc7ce
child 12063 4bcb58aa103a
--- a/cubicweb/test/unittest_rset.py	Fri Jan 20 16:53:28 2017 +0100
+++ b/cubicweb/test/unittest_rset.py	Mon Jan 23 11:02:21 2017 +0100
@@ -119,17 +119,6 @@
             #                  '%stask/title/go' % baseurl)
             # empty _restpath should not crash
             self.compare_urls(req.build_url('view', _restpath=''), baseurl)
-            self.assertNotIn('https', req.build_url('view', vid='foo', rql='yo',
-                                                      __secure__=True))
-            try:
-                self.config.global_set_option('https-url', 'https://testing.fr/')
-                self.assertTrue('https', req.build_url('view', vid='foo', rql='yo',
-                                                         __secure__=True))
-                self.compare_urls(req.build_url('view', vid='foo', rql='yo',
-                                                __secure__=True),
-                                  '%sview?vid=foo&rql=yo' % req.base_url(secure=True))
-            finally:
-                self.config.global_set_option('https-url', None)
 
 
     def test_build(self):