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

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/perf_profiler_unittest.py

Issue 23458037: Profiler.is_supported takes browser_type instead of options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix loading_profile.py Created 7 years, 3 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
Index: tools/telemetry/telemetry/core/platform/profiler/perf_profiler_unittest.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/perf_profiler_unittest.py b/tools/telemetry/telemetry/core/platform/profiler/perf_profiler_unittest.py
index 549458f2c7afef6f9c0743c70c118f9794496fa1..b9370d8bf047e2b68d0ca6870769fa72723ae3b4 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/perf_profiler_unittest.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/perf_profiler_unittest.py
@@ -13,7 +13,7 @@ from telemetry.unittest import simple_mock
class TestPerfProfiler(unittest.TestCase):
def testPerfProfiler(self):
options = options_for_unittests.GetCopy()
- if not perf_profiler.PerfProfiler.is_supported(options):
+ if not perf_profiler.PerfProfiler.is_supported(options.browser_type):
logging.warning('PerfProfiler is not supported. Skipping test')
return

Powered by Google App Engine
This is Rietveld 408576698