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

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_single.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: 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/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_single.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bypass.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_single.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_single.py
index f8a764c22e1141fc7ed1e043a6478fb596038871..7906023663c393ff8c9b7dde58796c33037c9046 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bypass.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_single.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 BlockSinglePage(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(BlockSinglePage, self).__init__(url=url, page_set=page_set)
-class BypassPageSet(page_set_module.PageSet):
+class BlockSinglePageSet(page_set_module.PageSet):
""" Chrome proxy test sites """
def __init__(self):
- super(BypassPageSet, self).__init__(
- archive_data_file='../data/chrome_proxy_bypass.json')
+ super(BlockSinglePageSet, self).__init__()
urls_list = [
- 'http://aws1.mdw.la/bypass/',
+ 'http://check.googlezip.net/blocksingle',
]
for url in urls_list:
- self.AddPage(BypassPage(url, self))
+ self.AddPage(BlockSinglePage(url, self))

Powered by Google App Engine
This is Rietveld 408576698