Bug 1397222 - Fix running talos in developer mode on try branches. r=jmaher

MozReview-Commit-ID: FNQdBchveYF

--HG--
extra : rebase_source : c55e5c002c0d9536fa452ea38468ddb97e4a6156
This commit is contained in:
Alexandre Poirot 2017-09-06 13:58:01 +02:00
Родитель 6089e4bd83
Коммит 4ebd2fb5c9
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -94,7 +94,7 @@ class FFSetup(object):
extensions.append(self.test_config['extensions'])
if self.browser_config['develop'] or \
self.browser_config['branch_name'] == 'Try':
'try' in str.lower(self.browser_config['branch_name']):
extensions = [os.path.dirname(i) for i in extensions]
profile = Profile.clone(

Просмотреть файл

@ -118,7 +118,7 @@ def run_tests(config, browser_config):
browser_config['extra_args'] = '--no-remote'
# with addon signing for production talos, we want to develop without it
if browser_config['develop'] or browser_config['branch_name'] == 'Try':
if browser_config['develop'] or 'try' in str.lower(browser_config['branch_name']):
browser_config['preferences']['xpinstall.signatures.required'] = False
browser_config['preferences']['extensions.allow-non-mpc-extensions'] = True