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

Unified Diff: tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py

Issue 789043003: [Telemetry] Disable testPowerMonitoringSync test on Mac & cleanup test macros (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove blankline Created 6 years 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/posix_platform_backend_unittest.py
diff --git a/tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py b/tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py
index eed5c0cd27e387f45fe66effa75d190036165332..ea832c46cd180e3829b0f07c941981f0d5bfdd2a 100644
--- a/tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py
+++ b/tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py
@@ -5,9 +5,9 @@ import os
import sys
import unittest
-from telemetry import benchmark
from telemetry.core import platform as platform_module
from telemetry.core.platform import posix_platform_backend
+from telemetry.unittest_util import test
class TestBackend(posix_platform_backend.PosixPlatformBackend):
@@ -76,7 +76,7 @@ class PosixPlatformBackendTest(unittest.TestCase):
posix_platform_backend._BinaryExistsInSudoersFiles(
binary_path,' (root) NOPASSWD: /usr/bin/pkill arg1 arg2'))
- @benchmark.Enabled('linux', 'mac')
+ @test.Enabled('linux', 'mac')
def testIsApplicationRunning(self):
platform = platform_module.GetHostPlatform()

Powered by Google App Engine
This is Rietveld 408576698