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

Unified Diff: tools/telemetry/telemetry/multi_page_benchmark_unittest.py

Issue 11783056: [telemetry] More fixes for my page_test_result rewrite (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: tools/telemetry/telemetry/multi_page_benchmark_unittest.py
diff --git a/tools/telemetry/telemetry/multi_page_benchmark_unittest.py b/tools/telemetry/telemetry/multi_page_benchmark_unittest.py
index ae645ead1eda83bcf830d0bbd17cb21c6cfd9d90..073748448caf6b33d04e8477b0c3b29d1e4c2cdf 100644
--- a/tools/telemetry/telemetry/multi_page_benchmark_unittest.py
+++ b/tools/telemetry/telemetry/multi_page_benchmark_unittest.py
@@ -78,7 +78,8 @@ class MultiPageBenchmarkUnitTest(
benchmark = BenchThatHasDefaults()
all_results = self.RunBenchmark(benchmark, ps, options=self._options)
self.assertEquals(len(all_results.page_results), 1)
- self.assertEquals(all_results.page_results[0]['x'], 7)
+ self.assertEquals(
+ all_results.page_results[0].FindValueByTraceName('x').value, 7)
def testRecordAndReplay(self):
test_archive = '/tmp/google.wpr'

Powered by Google App Engine
This is Rietveld 408576698