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

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

Issue 797003002: Replaced @benchmark.Enabled/Disabled and @test.Enabled/Disabled with @decorators.Enabled/Disabled i… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed some bad imports 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/platform_backend_unittest.py
diff --git a/tools/telemetry/telemetry/core/platform/platform_backend_unittest.py b/tools/telemetry/telemetry/core/platform/platform_backend_unittest.py
index 8b72e52b791a51e2e9b0910b5f649d7ae8f133d0..3b79cfb039837a7242ff16e8ed567e331cbbabb4 100644
--- a/tools/telemetry/telemetry/core/platform/platform_backend_unittest.py
+++ b/tools/telemetry/telemetry/core/platform/platform_backend_unittest.py
@@ -6,12 +6,12 @@ import logging
import time
import unittest
+from telemetry import decorators
from telemetry.core import platform as platform_module
-from telemetry.unittest_util import test
class PlatformBackendTest(unittest.TestCase):
- @test.Disabled('mac') # http://crbug.com/440666
+ @decorators.Disabled('mac') # http://crbug.com/440666
def testPowerMonitoringSync(self):
# Tests that the act of monitoring power doesn't blow up.
platform = platform_module.GetHostPlatform()

Powered by Google App Engine
This is Rietveld 408576698