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

Unified Diff: tools/telemetry/telemetry/unittest/system_stub.py

Issue 556003002: [telemetry] Use consistent bucket naming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit tests. Created 6 years, 3 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: tools/telemetry/telemetry/unittest/system_stub.py
diff --git a/tools/telemetry/telemetry/unittest/system_stub.py b/tools/telemetry/telemetry/unittest/system_stub.py
index 94d8597fdca344859ce10ce5885e89d4885f684c..9c459e53b603a8e2c811275571e5e523de496ea5 100644
--- a/tools/telemetry/telemetry/unittest/system_stub.py
+++ b/tools/telemetry/telemetry/unittest/system_stub.py
@@ -123,8 +123,14 @@ class AdbCommandsModuleStub(object):
class CloudStorageModuleStub(object):
- INTERNAL_BUCKET = None
- PUBLIC_BUCKET = None
+ PUBLIC_BUCKET = 'chromium-telemetry'
+ PARTNER_BUCKET = 'chrome-partner-telemetry'
+ INTERNAL_BUCKET = 'chrome-telemetry'
+ BUCKET_ALIASES = {
+ 'public': PUBLIC_BUCKET,
+ 'partner': PARTNER_BUCKET,
+ 'internal': INTERNAL_BUCKET,
+ }
class CloudStorageError(Exception):
pass
« no previous file with comments | « tools/telemetry/telemetry/page/page_set_archive_info.py ('k') | tools/telemetry/telemetry/util/cloud_storage.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698