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

Unified Diff: systrace/profile_chrome/chrome_tracing_agent_unittest.py

Issue 2295913002: Enable some profile_chrome unit tests on Trybots (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Add never-run decorator to perf agent as well Created 4 years, 3 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: systrace/profile_chrome/chrome_tracing_agent_unittest.py
diff --git a/systrace/profile_chrome/chrome_tracing_agent_unittest.py b/systrace/profile_chrome/chrome_tracing_agent_unittest.py
index 27df2c7ae3bbe7c3a9f8ac2b66919b2b91e4a6c0..e02ee6d889f6633feee060822675122f7c227a4d 100644
--- a/systrace/profile_chrome/chrome_tracing_agent_unittest.py
+++ b/systrace/profile_chrome/chrome_tracing_agent_unittest.py
@@ -6,9 +6,11 @@ import json
from profile_chrome import chrome_tracing_agent
from profile_chrome import agents_unittest
+from systrace import decorators
class ChromeAgentTest(agents_unittest.BaseAgentTest):
+ @decorators.NeverRunTest
def testGetCategories(self):
categories = \
chrome_tracing_agent.ChromeTracingAgent.GetCategories(
@@ -18,6 +20,7 @@ class ChromeAgentTest(agents_unittest.BaseAgentTest):
self.assertTrue(categories[0])
self.assertTrue(categories[1])
+ @decorators.ClientOnlyTest
def testTracing(self):
categories = '*'
ring_buffer = False

Powered by Google App Engine
This is Rietveld 408576698