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

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback.py

Issue 659333004: Added several new bypass telemetry tests for the data reduction proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Synced repo Created 6 years, 2 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 | « tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/explicit_bypass.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback.py
similarity index 58%
copy from tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py
copy to tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback.py
index 9e9fb101ae8b4dfd9641118b85caa759cd366ebc..43a94476a82968866967c4e85f8f13e0fcc7fff8 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback.py
@@ -6,22 +6,19 @@ from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
-class BlockOncePage(page_module.Page):
-
+class FallbackPage(page_module.Page):
def __init__(self, url, page_set):
- super(BlockOncePage, self).__init__(url=url, page_set=page_set)
-
+ super(FallbackPage, self).__init__(url=url, page_set=page_set)
-class BlockOncePageSet(page_set_module.PageSet):
+class FallbackPageSet(page_set_module.PageSet):
""" Chrome proxy test sites """
-
def __init__(self):
- super(BlockOncePageSet, self).__init__()
+ super(FallbackPageSet, self).__init__()
urls_list = [
- 'http://check.googlezip.net/blocksingle',
+ 'http://check.googlezip.net/fallback',
]
for url in urls_list:
- self.AddPage(BlockOncePage(url, self))
+ self.AddPage(FallbackPage(url, self))
« no previous file with comments | « tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/explicit_bypass.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698