Index: chrome/common/extensions/docs/server2/test_branch_utility.py |
diff --git a/chrome/common/extensions/docs/server2/test_branch_utility.py b/chrome/common/extensions/docs/server2/test_branch_utility.py |
index 1c365a56869fe64d5538bf619c64fc0207b4e3a6..98d2b931b83086213e8f2d1f4f61dd7d5a7ebeec 100644 |
--- a/chrome/common/extensions/docs/server2/test_branch_utility.py |
+++ b/chrome/common/extensions/docs/server2/test_branch_utility.py |
@@ -8,5 +8,11 @@ class TestBranchUtility(object): |
'''Mimics BranchUtility to return valid-ish data without needing omahaproxy |
data. |
''' |
- def GetBranchForChannel(self, channel_name): |
- return channel_name |
+ def GetChannelInfo(self, channel_name): |
+ class TestChannelInfo(object): |
+ def __init__(self, name, branch, version): |
+ self.name = name |
+ self.branch = branch |
+ self.version = version |
+ |
+ return TestChannelInfo(channel_name, 0, 0) |