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
import story
9 class LoFiPage(page_module
.Page
):
11 A test page for the chrome proxy Lo-Fi tests.
12 Checks that the compressed image is below a certain threshold.
15 def __init__(self
, url
, page_set
):
16 super(LoFiPage
, self
).__init
__(url
=url
, page_set
=page_set
)
19 class LoFiStorySet(story
.StorySet
):
20 """ Chrome proxy test sites """
23 super(LoFiStorySet
, self
).__init
__()
26 'http://check.googlezip.net/lofi.png',
30 self
.AddStory(LoFiPage(url
, self
))