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

Side by Side Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/exp_directive.py

Issue 1044573002: Integration test for exp Chrome-Proxy request option (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename to exp_directive Created 5 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from telemetry.page import page as page_module
6 from telemetry.page import page_set as page_set_module
7
8
9 class ExpDirectivePage(page_module.Page):
10 """
11 A test page for the experiment Chrome-Proxy directive tests.
sclittle 2015/04/07 21:34:13 nit: Move this line up, and remove the second line
12 Checks that a bypass is triggered for a specified url when exp=test.
13 """
14
15 def __init__(self, url, page_set):
16 super(ExpDirectivePage, self).__init__(url=url, page_set=page_set)
17
18
19 class ExpDirectivePageSet(page_set_module.PageSet):
20 """ Chrome proxy test sites """
21
22 def __init__(self):
23 super(ExpDirectivePageSet, self).__init__()
24
25 urls_list = [
26 'http://aws1.mdw.la/exptest/',
27 ]
28
29 for url in urls_list:
30 self.AddUserStory(ExpDirectivePage(url, self))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698