Extend the enterprise policy for SSL overrides to the "danger" command
[chromium-blink-merge.git] / tools / chrome_proxy / integration_tests / chrome_proxy_pagesets / lo_fi.py
blob431098f2a0a49a789073054c3e8cffa5ffc829ac
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.
5 from telemetry.page import page as page_module
6 from telemetry.page import page_set as page_set_module
9 class LoFiPage(page_module.Page):
10 """
11 A test page for the chrome proxy Lo-Fi tests.
12 Checks that the compressed image is below a certain threshold.
13 """
15 def __init__(self, url, page_set):
16 super(LoFiPage, self).__init__(url=url, page_set=page_set)
19 class LoFiPageSet(page_set_module.PageSet):
20 """ Chrome proxy test sites """
22 def __init__(self):
23 super(LoFiPageSet, self).__init__()
25 urls_list = [
26 'http://aws1.mdw.la/fw/buddy.jpg',
29 for url in urls_list:
30 self.AddUserStory(LoFiPage(url, self))