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

Unified Diff: tools/chrome_proxy/webdriver/lite_page.py

Issue 2903453003: DataReductionProxy proto change to use exp=force_lite_page directive (Closed)
Patch Set: Adjusted directive terminology to experiment terminology Created 3 years, 7 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 | « components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_proxy/webdriver/lite_page.py
diff --git a/tools/chrome_proxy/webdriver/lite_page.py b/tools/chrome_proxy/webdriver/lite_page.py
index ff766d0288f0c8e040682c89ab9f046cf75c9764..711194a63375cf512be12b6f6a6845c83d317f48 100644
--- a/tools/chrome_proxy/webdriver/lite_page.py
+++ b/tools/chrome_proxy/webdriver/lite_page.py
@@ -10,9 +10,9 @@ import time
class LitePage(IntegrationTest):
- # Checks that a Lite Page is served and that the ignore_preview_blacklist
- # experiment is being used.
- def testLitePage(self):
+ # Checks that a Lite Page is served and the force_lite_page experiment
+ # directive is provided when always-on.
+ def testLitePageForcedExperiment(self):
# If it was attempted to run with another experiment, skip this test.
with TestDriver() as test_driver:
test_driver.AddChromeArg('--enable-spdy-proxy-auth')
@@ -32,7 +32,7 @@ class LitePage(IntegrationTest):
if not common.ParseFlags().browser_args or (
'--data-reduction-proxy-experiment' not in
common.ParseFlags().browser_args):
- self.assertIn('exp=ignore_preview_blacklist',
+ self.assertIn('exp=force_lite_page',
response.request_headers['chrome-proxy'])
if (self.checkLitePageResponse(response)):
lite_page_responses = lite_page_responses + 1
@@ -64,7 +64,7 @@ class LitePage(IntegrationTest):
if not common.ParseFlags().browser_args or (
'--data-reduction-proxy-experiment' not in
common.ParseFlags().browser_args):
- self.assertIn('exp=ignore_preview_blacklist',
+ self.assertIn('exp=force_lite_page',
response.request_headers['chrome-proxy'])
if (self.checkLitePageResponse(response)):
lite_page_responses = lite_page_responses + 1
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698