diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-12-13 11:38:48 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-12-13 11:38:48 +0100 |
commit | 27e903bab82b5b6ba6fc959fb888efb920a16a61 (patch) | |
tree | e638a3636e07b8ac99005bd01cc9a5b18e41ca06 /etc/taskcluster/mock.py | |
parent | 8de59c15b5197a4971d62de370490fb157c4b7c2 (diff) | |
download | servo-27e903bab82b5b6ba6fc959fb888efb920a16a61.tar.gz servo-27e903bab82b5b6ba6fc959fb888efb920a16a61.zip |
Decision task: print IDs of tasks scheduled or found in the index
Diffstat (limited to 'etc/taskcluster/mock.py')
-rwxr-xr-x | etc/taskcluster/mock.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/taskcluster/mock.py b/etc/taskcluster/mock.py index 60720f73ddd..bfc963ebaf8 100755 --- a/etc/taskcluster/mock.py +++ b/etc/taskcluster/mock.py @@ -33,12 +33,12 @@ class Index: def findTask(self, path): if decision_task.CONFIG.git_ref == "refs/heads/master": - return {"taskId": ""} + return {"taskId": "<from index>"} raise TaskclusterRestFailure stringDate = str -slugId = b"id".lower +slugId = b"<new id>".lower Queue = fromNow = MagicMock() sys.modules["taskcluster"] = sys.modules[__name__] sys.dont_write_bytecode = True |