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

Unified Diff: telemetry/telemetry/internal/story_runner_unittest.py

Issue 2055043002: Plumb IterationInfo from telemetry to a diagnostic (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: IterationInfo python class Created 4 years, 6 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 | « telemetry/telemetry/internal/story_runner.py ('k') | telemetry/telemetry/page/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/story_runner_unittest.py
diff --git a/telemetry/telemetry/internal/story_runner_unittest.py b/telemetry/telemetry/internal/story_runner_unittest.py
index da326424501b435e2a5b35240e6489bd6c1deaae..e15538cac714b691258244d4d0f1d4974cb18fb7 100644
--- a/telemetry/telemetry/internal/story_runner_unittest.py
+++ b/telemetry/telemetry/internal/story_runner_unittest.py
@@ -111,6 +111,11 @@ class DummyLocalStory(story_module.Story):
def is_local(self):
return True
+ @property
+ def url(self):
+ return 'data:,'
+
+
class MixedStateStorySet(story_module.StorySet):
@property
def allow_mixed_story_states(self):
@@ -689,6 +694,10 @@ class StoryRunnerTest(unittest.TestCase):
self.was_run = True
raise legacy_page_test.Failure
+ @property
+ def url(self):
+ return 'data:,'
+
self.SuppressExceptionFormatting()
story_set = story_module.StorySet()
« no previous file with comments | « telemetry/telemetry/internal/story_runner.py ('k') | telemetry/telemetry/page/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698