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

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

Issue 165193002: [Telemetry] Fix --cold-load-percent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unittest Created 6 years, 10 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/perf/measurements/page_cycler_unittest.py
diff --git a/tools/perf/measurements/page_cycler_unittest.py b/tools/perf/measurements/page_cycler_unittest.py
index 13f4cd2921e3b50ad756fe2812e42934be4dd91f..ce0ad12b4130b1faef7e262e80acf4d441fd50c3 100644
--- a/tools/perf/measurements/page_cycler_unittest.py
+++ b/tools/perf/measurements/page_cycler_unittest.py
@@ -38,7 +38,8 @@ class FakePage(object):
class FakeTab(object):
def __init__(self):
self.clear_cache_calls = 0
- def ClearCache(self):
+ def ClearCache(self, force=False):
+ assert force
self.clear_cache_calls += 1
def EvaluateJavaScript(self, _):
return 1
« no previous file with comments | « tools/perf/measurements/page_cycler.py ('k') | tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698