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

Unified Diff: buildbot/prebuilt_unittest.py

Issue 6677023: Update prebuilt.py to handle private google storage uploads. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/chromite@master
Patch Set: Created 9 years, 9 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
« buildbot/prebuilt.py ('K') | « buildbot/prebuilt.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: buildbot/prebuilt_unittest.py
diff --git a/buildbot/prebuilt_unittest.py b/buildbot/prebuilt_unittest.py
index 6c7a650d9a2923fc63fa8d38f93bab49bad5d54b..a4f2588e6a4902e8666d5bb5b6469a488d83663e 100755
--- a/buildbot/prebuilt_unittest.py
+++ b/buildbot/prebuilt_unittest.py
@@ -504,6 +504,7 @@ class TestMain(unittest.TestCase):
options.filters = True
options.key = 'PORTAGE_BINHOST'
options.sync_binhost_conf = True
+ options.acl_file = None
self.mox.StubOutWithMock(prebuilt, 'ParseOptions')
prebuilt.ParseOptions().AndReturn(options)
self.mox.StubOutWithMock(prebuilt, 'LoadPrivateFilters')
@@ -512,7 +513,7 @@ class TestMain(unittest.TestCase):
prebuilt.GrabRemotePackageIndex(old_binhost).AndReturn(True)
self.mox.StubOutWithMock(prebuilt.PrebuiltUploader, '__init__')
prebuilt.PrebuiltUploader.__init__(options.upload, 'private',
- options.binhost_base_url, mox.IgnoreArg())
+ options.upload, mox.IgnoreArg())
self.mox.StubOutWithMock(prebuilt.PrebuiltUploader, '_SyncHostPrebuilts')
prebuilt.PrebuiltUploader._SyncHostPrebuilts(options.build_path,
mox.IgnoreArg(), options.key, options.git_sync,
« buildbot/prebuilt.py ('K') | « buildbot/prebuilt.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698