Index: tools/perf/page_sets/system_health/loading_stories.py |
diff --git a/tools/perf/page_sets/system_health/loading_stories.py b/tools/perf/page_sets/system_health/loading_stories.py |
index b5c99a1cdb8b25581033d34283a3db45b60a9105..67c51cd30c1af1d605e71e268bec3a15caaf614f 100644 |
--- a/tools/perf/page_sets/system_health/loading_stories.py |
+++ b/tools/perf/page_sets/system_health/loading_stories.py |
@@ -13,9 +13,15 @@ from telemetry import decorators |
class _LoadingStory(system_health_story.SystemHealthStory): |
- """Abstract base class for single-page System Health user stories.""" |
+ """Abstract base class for single-page System Health user stories. |
+ """ |
perezju
2017/05/18 09:52:35
nit: no need to push quotes down if title fits in
nednguyen
2017/05/18 14:02:58
Done.
|
ABSTRACT_STORY = True |
+ @classmethod |
+ def GetStoryDescription(cls): |
+ if not cls.ABSTRACT_STORY and not cls.__doc__: |
+ return 'Load %s' % cls.URL |
+ |
################################################################################ |
# Search and e-commerce. |