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 # pylint: disable=W0401,W0614 | |
5 from telemetry.page.actions.all_page_actions import * | |
6 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
7 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
8 | 6 |
9 | 7 |
10 class PlusAltPostsPhotosPage(page_module.Page): | 8 class PlusAltPostsPhotosPage(page_module.Page): |
11 | 9 |
12 """ Why: Alternate between clicking posts and albums """ | 10 """ Why: Alternate between clicking posts and albums """ |
13 | 11 |
14 def __init__(self, page_set): | 12 def __init__(self, page_set): |
15 super(PlusAltPostsPhotosPage, self).__init__( | 13 super(PlusAltPostsPhotosPage, self).__init__( |
(...skipping 27 matching lines...) Expand all Loading... |
43 """ Chrome Endure test for Google Plus. """ | 41 """ Chrome Endure test for Google Plus. """ |
44 | 42 |
45 def __init__(self): | 43 def __init__(self): |
46 super(PlusAltPostsPhotosPageSet, self).__init__( | 44 super(PlusAltPostsPhotosPageSet, self).__init__( |
47 credentials_path='data/credentials.json', | 45 credentials_path='data/credentials.json', |
48 user_agent_type='desktop', | 46 user_agent_type='desktop', |
49 archive_data_file='data/plus_alt_posts_photos.json', | 47 archive_data_file='data/plus_alt_posts_photos.json', |
50 bucket=page_set_module.PUBLIC_BUCKET) | 48 bucket=page_set_module.PUBLIC_BUCKET) |
51 | 49 |
52 self.AddPage(PlusAltPostsPhotosPage(self)) | 50 self.AddPage(PlusAltPostsPhotosPage(self)) |
OLD | NEW |