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

Unified Diff: tools/perf/measurements/skpicture_printer_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/skpicture_printer_unittest.py
diff --git a/tools/perf/measurements/skpicture_printer_unittest.py b/tools/perf/measurements/skpicture_printer_unittest.py
index 1e6338b97215766ec49fcfd5bacac72c770689b6..ffa1864384c1cf9d88b5c3471d70a3a4b05c033c 100644
--- a/tools/perf/measurements/skpicture_printer_unittest.py
+++ b/tools/perf/measurements/skpicture_printer_unittest.py
@@ -14,15 +14,15 @@ from telemetry.unittest_util import test
class SkpicturePrinterUnitTest(page_test_test_case.PageTestTestCase):
def setUp(self):
self._options = options_for_unittests.GetCopy()
- self._options.skp_outdir = tempfile.mkdtemp('_skp_test')
+ self._skp_outdir = tempfile.mkdtemp('_skp_test')
def tearDown(self):
- shutil.rmtree(self._options.skp_outdir)
+ shutil.rmtree(self._skp_outdir)
@test.Disabled('android')
def testSkpicturePrinter(self):
ps = self.CreatePageSetFromFileInUnittestDataDir('blank.html')
- measurement = skpicture_printer.SkpicturePrinter()
+ measurement = skpicture_printer.SkpicturePrinter(self._skp_outdir)
results = self.RunMeasurement(measurement, ps, options=self._options)
# Picture printing is not supported on all platforms.

Powered by Google App Engine
This is Rietveld 408576698