Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7785)

Unified Diff: chrome/common/extensions/docs/server2/integration_test.py

Issue 10831269: Extensions Docs Server: BranchUtility not fetching branch numbers correctly (fixed) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/integration_test.py
diff --git a/chrome/common/extensions/docs/server2/integration_test.py b/chrome/common/extensions/docs/server2/integration_test.py
index 392337d28dc610a1fa66d7b2c3dd8bf621a679ec..73c00fe0505ea2b2f82867ac3698838dfc41b535 100755
--- a/chrome/common/extensions/docs/server2/integration_test.py
+++ b/chrome/common/extensions/docs/server2/integration_test.py
@@ -14,6 +14,11 @@ from handler import Handler
KNOWN_FAILURES = [
]
+def _FakeGetBranchNumberForChannelName(channel_name):
+ return 'local'
+handler.BRANCH_UTILITY.GetBranchNumberForChannelName = (
+ _FakeGetBranchNumberForChannelName)
not at google - send to devlin 2012/08/13 00:53:00 I alluded to something like this in a bug report I
cduvall 2012/08/13 21:45:04 Done.
+
class _MockResponse(object):
def __init__(self):
self.status = 200

Powered by Google App Engine
This is Rietveld 408576698