OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from telemetry import story | 5 from telemetry import story |
6 from telemetry.page import page | 6 from telemetry.page import page |
7 | 7 |
8 | 8 |
9 class ExampleDomainPageSet(story.StorySet): | 9 class ExampleDomainPageSet(story.StorySet): |
10 def __init__(self): | 10 def __init__(self): |
11 super(ExampleDomainPageSet, self).__init__( | 11 super(ExampleDomainPageSet, self).__init__( |
12 archive_data_file='data/example_domain.json', | 12 archive_data_file='data/example_domain.json', |
13 cloud_storage_bucket=story.PUBLIC_BUCKET) | 13 cloud_storage_bucket=story.PUBLIC_BUCKET) |
14 | 14 |
15 self.AddStory(page.Page('http://www.example.com', self)) | 15 self.AddStory(page.Page('http://www.example.com', self)) |
16 self.AddStory(page.Page('https://www.example.com', self)) | 16 self.AddStory(page.Page('https://www.example.com', self)) |
OLD | NEW |