Restore registration as taskcluster, was a total accident

This commit is contained in:
Kagami Sascha Rosylight 2020-06-21 16:37:42 +02:00
parent 7a655410a9
commit ce01d42b70

View file

@ -38,6 +38,7 @@ class Index:
stringDate = str
slugId = b"<new id>".lower
sys.exit = Queue = fromNow = MagicMock()
sys.modules["taskcluster"] = sys.modules[__name__]
sys.dont_write_bytecode = True
os.environ.update(**{k: k for k in "TASK_ID TASK_OWNER TASK_SOURCE GIT_URL GIT_SHA".split()})
os.environ["GIT_REF"] = "refs/heads/auto"