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

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

Issue 15009006: Docserver: refactor Servlet, ObjectStore, and ServerInstance architecture to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cduvall, redirect fix Created 7 years, 7 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/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
new file mode 100644
index 0000000000000000000000000000000000000000..1c365a56869fe64d5538bf619c64fc0207b4e3a6
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/test_branch_utility.py
@@ -0,0 +1,12 @@
+# Copyright 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from branch_utility import BranchUtility
+
+class TestBranchUtility(object):
+ '''Mimics BranchUtility to return valid-ish data without needing omahaproxy
+ data.
+ '''
+ def GetBranchForChannel(self, channel_name):
+ return channel_name

Powered by Google App Engine
This is Rietveld 408576698