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

Unified Diff: tools/telemetry/telemetry/page/page_test_runner.py

Issue 183893036: telemetry: deprecate GetModernizedTestName which is not used anymore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 10 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 | « tools/perf/run_measurement ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/page_test_runner.py
diff --git a/tools/telemetry/telemetry/page/page_test_runner.py b/tools/telemetry/telemetry/page/page_test_runner.py
index 33ca9552fe0fe6b25e12c10d4433c18eea6f2a7a..9352139810015278ee9a99d4bb2ef4638c51bcc6 100644
--- a/tools/telemetry/telemetry/page/page_test_runner.py
+++ b/tools/telemetry/telemetry/page/page_test_runner.py
@@ -62,20 +62,12 @@ class PageTestRunner(object):
test_name or None
"""
test_name = None
- for arg in [self.GetModernizedTestName(a) for a in args]:
+ for arg in args:
if arg in test_constructors:
test_name = arg
return test_name
- def GetModernizedTestName(self, arg):
- """Sometimes tests change names but buildbots keep calling the old name.
-
- If arg matches an old test name, return the new test name instead.
- Otherwise, return the arg.
- """
- return arg
-
def GetPageSet(self, test, env):
ps = test.CreatePageSet(self._args, self._options)
if ps:
« no previous file with comments | « tools/perf/run_measurement ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698