1 # Copyright 2014 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 # pylint: disable=W0401,W0614 5 from telemetry.page.actions.all_page_actions import * 6 from telemetry.page import page as page_module 7 from telemetry.page import page_set as page_set_module 8 9 10 # The PageSet searches for pages relative to the directory the page class is 11 # defined in so we need to subclass here. 12 class BlankPage(page_module.Page): 13 pass 14 15 16 class FiveBlankPagesPageSet(page_set_module.PageSet): 17 18 """ Five blank pages. """ 19 20 def __init__(self): 21 super(FiveBlankPagesPageSet, self).__init__() 22 for _ in xrange(5): 23 self.AddPage(BlankPage('file://blank_page/blank_page.html', self)) 24