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

Unified Diff: tools/perf/measurements/thread_times_unittest.py

Issue 637153002: telemetry: Remove command line args from page test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Suppress pylint E1003 Created 6 years, 1 month 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/perf/measurements/thread_times_unittest.py
diff --git a/tools/perf/measurements/thread_times_unittest.py b/tools/perf/measurements/thread_times_unittest.py
index ef544838617a4ca40b51f2310506f24206525863..44d7bd33221f3a10b36d2e1314dfac9653a4a0ae 100644
--- a/tools/perf/measurements/thread_times_unittest.py
+++ b/tools/perf/measurements/thread_times_unittest.py
@@ -46,8 +46,7 @@ class ThreadTimesUnitTest(page_test_test_case.PageTestTestCase):
def testWithSilkDetails(self):
ps = self.CreatePageSetFromFileInUnittestDataDir('scrollable_page.html')
- measurement = thread_times.ThreadTimes()
- self._options.report_silk_details = True
+ measurement = thread_times.ThreadTimes(report_silk_details=True)
results = self.RunMeasurement(measurement, ps, options = self._options)
self.assertEquals(0, len(results.failures))

Powered by Google App Engine
This is Rietveld 408576698