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

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

Issue 1280903003: Add dependency_manager initialization to binary_manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/internal/platform/profiler/perf_profiler_unittest.py
diff --git a/tools/telemetry/telemetry/internal/platform/profiler/perf_profiler_unittest.py b/tools/telemetry/telemetry/internal/platform/profiler/perf_profiler_unittest.py
index 76f0d3d66bc726a5e63d006fc435756ec942b847..05d19bf563cf25035fe959af80fdfb9edc8a367f 100644
--- a/tools/telemetry/telemetry/internal/platform/profiler/perf_profiler_unittest.py
+++ b/tools/telemetry/telemetry/internal/platform/profiler/perf_profiler_unittest.py
@@ -7,6 +7,7 @@ import unittest
from telemetry.core import util
from telemetry.internal.platform.profiler import perf_profiler
+from telemetry.internal.util import binary_manager
from telemetry.testing import options_for_unittests
from telemetry.testing import simple_mock
@@ -33,6 +34,8 @@ class TestPerfProfiler(unittest.TestCase):
real_subprocess = perf_profiler.subprocess
perf_profiler.subprocess = mock_subprocess
+
+ binary_manager.InitDependencyManagerForUnittests()
try:
self.assertEqual(
perf_profiler.PerfProfiler.GetTopSamples(profile_file, 10),

Powered by Google App Engine
This is Rietveld 408576698