Bug 1277579: fix taskgraph tests after code change; r=philor
authorDustin J. Mitchell <dustin@mozilla.com>
Sat, 17 Sep 2016 00:54:39 +0000
changeset 355569 ef3c1ce0c1fb504f971bc5da9a2a74374d5aebd0
parent 355568 722dadacc2d57d2ecb1dadf7b9904802f6567183
child 355570 b3aa1f62ce6862722d16004cfdb9da973517f352
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilor
bugs1277579
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 1277579: fix taskgraph tests after code change; r=philor MozReview-Commit-ID: 7wJWFhcnA5s
taskcluster/taskgraph/test/test_optimize.py
--- a/taskcluster/taskgraph/test/test_optimize.py
+++ b/taskcluster/taskgraph/test/test_optimize.py
@@ -43,17 +43,17 @@ class TestResolveTaskReferences(unittest
         "resolve_task_references resolves escapes in task references"
         self.do({'escape': {'task-reference': '<<><edge3>>'}},
                 {'escape': '<tid3>'})
 
     def test_invalid(self):
         "resolve_task_references raises a KeyError on reference to an invalid task"
         self.assertRaisesRegexp(
             KeyError,
-            "task 'subject' has no dependency with label 'no-such'",
+            "task 'subject' has no dependency named 'no-such'",
             lambda: resolve_task_references('subject', {'task-reference': '<no-such>'}, {})
         )
 
 
 class OptimizingTask(TestTask):
     # the `optimize` method on this class is overridden direclty in the tests
     # below.
     pass