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

Unified Diff: tools/perf/page_sets/dummy_story_set.py

Issue 2921523003: Explicitly set a story name for DummyPage (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/dummy_story_set.py
diff --git a/tools/perf/page_sets/dummy_story_set.py b/tools/perf/page_sets/dummy_story_set.py
index c3fe05c6a73f5434e5e6f4d1c92ea52f68f0ca51..acecff8c1add75a1ae2b739dc2deed4b719b4489 100644
--- a/tools/perf/page_sets/dummy_story_set.py
+++ b/tools/perf/page_sets/dummy_story_set.py
@@ -10,6 +10,7 @@ class DummyPage(page_module.Page):
def __init__(self, page_set):
super(DummyPage, self).__init__(
url='file://dummy_pages/dummy_page.html',
+ name='dummy_page.html',
page_set=page_set)
def RunPageInteractions(self, action_runner):
@@ -32,5 +33,5 @@ class BrokenDummyPage(page_module.Page):
class DummyStorySet(story.StorySet):
def __init__(self):
- super(DummyStorySet, self).__init__()
+ super(DummyStorySet, self).__init__(verify_names=True)
self.AddStory(DummyPage(self))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698