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

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

Issue 1103163008: Move user_story.user_story_runner to story.story_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to internal, not story. Created 5 years, 8 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 | tools/perf/profile_creators/profile_generator.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 a29737a42839891fc61dc6bad2b6dcb8018e0ba2..d98f320186abf751514abe7d4d19db5fa63ebdbd 100644
--- a/tools/perf/measurements/page_cycler_unittest.py
+++ b/tools/perf/measurements/page_cycler_unittest.py
@@ -6,9 +6,9 @@ import sys
import unittest
from telemetry.core import browser_options
+from telemetry.internal import story_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
from metrics import keychain_metric
@@ -114,11 +114,11 @@ class PageCyclerUnitTest(unittest.TestCase):
options = browser_options.BrowserFinderOptions()
options.browser_options.platform = FakePlatform()
parser = options.CreateParser()
- user_story_runner.AddCommandLineArgs(parser)
+ story_runner.AddCommandLineArgs(parser)
args = ['--page-repeat=%i' % page_repeat,
'--pageset-repeat=%i' % pageset_repeat]
parser.parse_args(args)
- user_story_runner.ProcessCommandLineArgs(parser, options)
+ story_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/profile_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698