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

Unified Diff: tools/telemetry/telemetry/internal/platform/profiler/android_profiling_helper_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/android_profiling_helper_unittest.py
diff --git a/tools/telemetry/telemetry/internal/platform/profiler/android_profiling_helper_unittest.py b/tools/telemetry/telemetry/internal/platform/profiler/android_profiling_helper_unittest.py
index 0db4e5659c85141c2bcfda7007d6ab4fd3cbfa57..8b7d88f89ec748855c107fe7fdbe95542e052462 100644
--- a/tools/telemetry/telemetry/internal/platform/profiler/android_profiling_helper_unittest.py
+++ b/tools/telemetry/telemetry/internal/platform/profiler/android_profiling_helper_unittest.py
@@ -13,6 +13,7 @@ import unittest
from telemetry.core import util
from telemetry import decorators
from telemetry.internal.platform.profiler import android_profiling_helper
+from telemetry.internal.util import binary_manager
from telemetry.testing import simple_mock
from telemetry.testing import tab_test_case
@@ -118,6 +119,8 @@ class TestAndroidProfilingHelper(unittest.TestCase):
real_subprocess = android_profiling_helper.subprocess
android_profiling_helper.subprocess = mock_subprocess
+
+ binary_manager.InitDependencyManagerForUnittests()
try:
libs = android_profiling_helper.GetRequiredLibrariesForPerfProfile('foo')
self.assertEqual(libs, set([

Powered by Google App Engine
This is Rietveld 408576698