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

Unified Diff: tools/perf/measurements/page_cycler_unittest.py

Issue 752883002: Revert of [Telemetry] Introduce shared_user_story_state for real. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | tools/perf/profile_creators/extensions_profile_creator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/page_cycler_unittest.py
diff --git a/tools/perf/measurements/page_cycler_unittest.py b/tools/perf/measurements/page_cycler_unittest.py
index 164e69f21ca19849cb9a05709be56dcd408231c6..87eb669bb182207cd3b991841e91eeb2d3375f70 100644
--- a/tools/perf/measurements/page_cycler_unittest.py
+++ b/tools/perf/measurements/page_cycler_unittest.py
@@ -5,9 +5,9 @@
import unittest
from telemetry.core import browser_options
+from telemetry.page import page_runner
from telemetry.results import page_test_results
from telemetry.unittest_util import simple_mock
-from telemetry.user_story import user_story_runner
from measurements import page_cycler
@@ -106,11 +106,11 @@
options = browser_options.BrowserFinderOptions()
options.browser_options.platform = FakePlatform()
parser = options.CreateParser()
- user_story_runner.AddCommandLineArgs(parser)
+ page_runner.AddCommandLineArgs(parser)
args = ['--page-repeat=%i' % page_repeat,
'--pageset-repeat=%i' % pageset_repeat]
parser.parse_args(args)
- user_story_runner.ProcessCommandLineArgs(parser, options)
+ page_runner.ProcessCommandLineArgs(parser, options)
cycler.CustomizeBrowserOptions(options.browser_options)
if setup_memory_module:
« no previous file with comments | « no previous file | tools/perf/profile_creators/extensions_profile_creator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698