Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback_viaheader.py

Issue 1218073014: Migrate from telemetry PageSet -> StorySet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix some issues Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback_viaheader.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback_viaheader.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback_viaheader.py
index a1ec2ca2aab4c963debaefc8ca741ff05b893012..9e7afb578e851401b6876417ce1a9e3fb263926f 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback_viaheader.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback_viaheader.py
@@ -3,7 +3,7 @@
# found in the LICENSE file.
from telemetry.page import page as page_module
-from telemetry.page import page_set as page_set_module
+from telemetry.story import story_set as story_set_module
class FallbackViaHeaderPage(page_module.Page):
@@ -12,11 +12,11 @@ class FallbackViaHeaderPage(page_module.Page):
super(FallbackViaHeaderPage, self).__init__(url=url, page_set=page_set)
-class FallbackViaHeaderPageSet(page_set_module.PageSet):
+class FallbackViaHeaderStorySet(story_set_module.StorySet):
""" Chrome proxy test sites """
def __init__(self):
- super(FallbackViaHeaderPageSet, self).__init__()
+ super(FallbackViaHeaderStorySet, self).__init__()
urls_list = [
'http://chromeproxy-test.appspot.com/default?respStatus=200',
@@ -24,4 +24,4 @@ class FallbackViaHeaderPageSet(page_set_module.PageSet):
]
for url in urls_list:
- self.AddUserStory(FallbackViaHeaderPage(url, self))
+ self.AddStory(FallbackViaHeaderPage(url, self))

Powered by Google App Engine
This is Rietveld 408576698