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

Unified Diff: buildbot/prebuilt_unittest.py

Issue 6871033: Fix typo in Packages URLs. (Closed) Base URL: http://git.chromium.org/git/chromite.git@master
Patch Set: Update unit tests. Created 9 years, 8 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
« no previous file with comments | « 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 cef92cc96a73d69cb3cab0959aac73e74b6737f1..f71b5483601be08b340035680d966839b353e4ae 100755
--- a/buildbot/prebuilt_unittest.py
+++ b/buildbot/prebuilt_unittest.py
@@ -457,7 +457,8 @@ class TestSyncPrebuilts(unittest.TestCase):
'target': prebuilt._HOST_TARGET }
packages_url_suffix = '%s/packages' % url_suffix.rstrip('/')
self.uploader._UploadPrebuilt(package_path, packages_url_suffix)
- url_value = '%s/%s/' % (self.binhost.rstrip('/'), url_suffix.rstrip('/'))
+ url_value = '%s/%s/' % (self.binhost.rstrip('/'),
+ packages_url_suffix.rstrip('/'))
prebuilt.RevGitFile(mox.IgnoreArg(), url_value, key=self.key)
prebuilt.UpdateBinhostConfFile(mox.IgnoreArg(), self.key, url_value)
self.mox.ReplayAll()
@@ -483,7 +484,8 @@ class TestSyncPrebuilts(unittest.TestCase):
self.uploader._UploadPrebuilt(package_path, packages_url_suffix)
multiprocessing.Process.join()
multiprocessing.Process.exitcode = 0
- url_value = '%s/%s/' % (self.binhost.rstrip('/'), url_suffix.rstrip('/'))
+ url_value = '%s/%s/' % (self.binhost.rstrip('/'),
+ packages_url_suffix.rstrip('/'))
prebuilt.DeterminePrebuiltConfFile(self.build_path, board).AndReturn('foo')
prebuilt.RevGitFile('foo', url_value, key=self.key)
prebuilt.UpdateBinhostConfFile(mox.IgnoreArg(), self.key, url_value)
« no previous file with comments | « buildbot/prebuilt.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698