Fix test_decision after Bug 1277417 Output JSON from `mach taskgraph` commands

RESOLVED FIXED

Status

Firefox Build System
Task Configuration
RESOLVED FIXED
2 years ago
5 months ago

People

(Reporter: Callek, Assigned: Callek)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Created attachment 8763522 [details] [diff] [review]
[m-c] fix the test

+++ This bug was initially created as a clone of Bug #1277417 +++

After Bug 1277417 we fail ./mach taskgraph python-tests with:

TEST-UNEXPECTED-FAIL | /home/callek/mozilla/hg/mozilla-central/taskcluster/taskgraph/test/test_decision.py | TestDecision.test_taskgraph_to_json, line 29: 'module' object has no attribute 'taskgraph_to_json'
ERROR: test_taskgraph_to_json (taskgraph.test.test_decision.TestDecision)
Traceback (most recent call last):
  File "/home/callek/mozilla/hg/mozilla-central/taskcluster/taskgraph/test/test_decision.py", line 29, in test_taskgraph_to_json
    res = decision.taskgraph_to_json(taskgraph)
AttributeError: 'module' object has no attribute 'taskgraph_to_json'
Attachment #8763522 - Flags: review?(dustin)
Comment on attachment 8763522 [details] [diff] [review]
[m-c] fix the test

Review of attachment 8763522 [details] [diff] [review]:
-----------------------------------------------------------------

Commit message needs the bug ID in it, but the fix is correct.
Attachment #8763522 - Flags: review?(dustin) → review+

Comment 2

2 years ago
Pushed by Callek@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a64dbd6d08b2
Fix test_decision after Bug 1277417 Output JSON from `mach taskgraph` commands. r=dustin

Comment 3

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/a64dbd6d08b2
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED

Updated

5 months ago
Product: TaskCluster → Firefox Build System
You need to log in before you can comment on or make changes to this bug.