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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_network_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/backends/chrome_inspector/inspector_network_unittest.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_network_unittest.py b/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_network_unittest.py
index 8504f9e1abda357142e2f56c6250a9355f73c713..88cea9494c3d9e2b8c4427d44878954965cceb38 100644
--- a/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_network_unittest.py
+++ b/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_network_unittest.py
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from telemetry import benchmark
+from telemetry import decorators
from telemetry.core.backends.chrome_inspector import inspector_network
from telemetry.timeline import recording_options
from telemetry.unittest_util import tab_test_case
@@ -71,7 +71,7 @@ class InspectorNetworkTabTest(tab_test_case.TabTestCase):
# Flaky on many platforms (at least Win, Linux, and Mac).
# http://crbug.com/424706
- @benchmark.Disabled
+ @decorators.Disabled
def testCacheableHTTPResponse(self):
# We know this page has one PNG image and its cacheable.
events = self._NavigateAndGetHTTPResponseEvents('image_decoding.html')

Powered by Google App Engine
This is Rietveld 408576698