mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 1512082 - Add TRY_SELECTOR env to templates expected value. r=me
--HG-- extra : rebase_source : 498a3f1162ab15157ce553db9b38b4218a81ef48
This commit is contained in:
parent
36f8be9d4e
commit
a1348d373a
@ -39,7 +39,10 @@ def test_try_again(monkeypatch):
|
||||
|
||||
try_task_config = kwargs.pop('try_task_config')
|
||||
assert sorted(try_task_config.get('tasks')) == sorted(['foo', 'bar'])
|
||||
assert try_task_config.get('templates') == {'artifact': True}
|
||||
assert try_task_config.get('templates') == {
|
||||
'artifact': True,
|
||||
'env': {'TRY_SELECTOR': 'fuzzy'},
|
||||
}
|
||||
|
||||
with open(push.history_path, 'r') as fh:
|
||||
assert len(fh.readlines()) == 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user