[FIX] website test: remove hack for runbot
authorChristophe Matthieu <chm@openerp.com>
Fri, 7 Feb 2014 15:54:54 +0000 (16:54 +0100)
committerChristophe Matthieu <chm@openerp.com>
Fri, 7 Feb 2014 15:54:54 +0000 (16:54 +0100)
bzr revid: chm@openerp.com-20140207155454-jf3pwp3hl9nvay6m

addons/website/tests/test_ui.py

index e79a2eb..eafe791 100644 (file)
@@ -86,10 +86,6 @@ class WebsiteUiSuite(unittest.TestSuite):
         self._options['timeout'] = self._timeout
         self._options['port'] = tools.config.get('xmlrpc_port', 80)
         self._options['db'] = tools.config.get('db_name', '')
-        # FIX for runbot test
-        if hasattr(os, 'uname') and os.uname()[1].startswith('runbot.'):
-            self._options['host'] = tools.config.get('db_name', '') + ".runbot.openerp.com"
-
         if 'user' not in self._options:
             self._options['user'] = 'admin'
             self._options['password'] = 'admin'