Bug 1293397: fix fake to make tests pass? r=armenzg
authorDustin J. Mitchell <dustin@mozilla.com>
Mon, 08 Aug 2016 21:03:38 +0000
changeset 308578 0329537bee24225608e30e865ea44dfa9d9aa6a9
parent 308577 b61757c08a5fbe9df2a1af7e462650b8c5b556ba
child 308579 85272f8ab75cf17d0d0323efaa4c02fb35659414
push id80379
push userdmitchell@mozilla.com
push dateMon, 08 Aug 2016 21:03:48 +0000
treeherdermozilla-inbound@0329537bee24 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarmenzg
bugs1293397
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1293397: fix fake to make tests pass? r=armenzg MozReview-Commit-ID: AuQBk2w8Ka1
taskcluster/mach_commands.py
taskcluster/taskgraph/test/test_target_tasks.py
--- a/taskcluster/mach_commands.py
+++ b/taskcluster/mach_commands.py
@@ -1,14 +1,15 @@
 # -*- coding: utf-8 -*-
 
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+
 from __future__ import absolute_import, print_function, unicode_literals
 
 import json
 import logging
 import sys
 import traceback
 
 from mach.decorators import (
--- a/taskcluster/taskgraph/test/test_target_tasks.py
+++ b/taskcluster/taskgraph/test/test_target_tasks.py
@@ -12,17 +12,17 @@ from ..graph import Graph
 from ..taskgraph import TaskGraph
 from .util import TestTask
 from mozunit import main
 
 
 class FakeTryOptionSyntax(object):
 
     def __init__(self, message, task_graph):
-        pass
+        self.trigger_tests = 0
 
     def task_matches(self, attributes):
         return 'at-at' in attributes
 
 
 class TestTargetTasks(unittest.TestCase):
 
     def test_from_parameters(self):