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

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

Issue 558743003: Integration test for bypassing the proxy for a single request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed block_single integration test to block_once 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
« no previous file with comments | « tools/chrome_proxy/integration_tests/chrome_proxy_metrics.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/block_once.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bypass.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py
similarity index 51%
copy from tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bypass.py
copy to tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py
index f8a764c22e1141fc7ed1e043a6478fb596038871..9e9fb101ae8b4dfd9641118b85caa759cd366ebc 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bypass.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py
@@ -6,24 +6,22 @@ from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
-class BypassPage(page_module.Page):
+class BlockOncePage(page_module.Page):
def __init__(self, url, page_set):
- super(BypassPage, self).__init__(url=url, page_set=page_set)
- self.archive_data_file = '../data/chrome_proxy_bypass.json'
+ super(BlockOncePage, self).__init__(url=url, page_set=page_set)
-class BypassPageSet(page_set_module.PageSet):
+class BlockOncePageSet(page_set_module.PageSet):
""" Chrome proxy test sites """
def __init__(self):
- super(BypassPageSet, self).__init__(
- archive_data_file='../data/chrome_proxy_bypass.json')
+ super(BlockOncePageSet, self).__init__()
urls_list = [
- 'http://aws1.mdw.la/bypass/',
+ 'http://check.googlezip.net/blocksingle',
bengr 2014/09/16 21:55:37 What is this URL?
sclittle 2014/09/16 22:05:55 Other test page sets use similar URLs, such as htt
]
for url in urls_list:
- self.AddPage(BypassPage(url, self))
+ self.AddPage(BlockOncePage(url, self))
« no previous file with comments | « tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698