[FIX] website test: remove hack for runbot
bzr revid: chm@openerp.com-20140207155454-jf3pwp3hl9nvay6m
This commit is contained in:
parent
c254b7ae2c
commit
efe1e4a183
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue