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

Unified Diff: tools/android/loading/pull_sandwich_metrics_unittest.py

Issue 1694253002: sandwich: Aggregates metrics per URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@d05
Patch Set: Addresses matt's nit Created 4 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
« no previous file with comments | « tools/android/loading/pull_sandwich_metrics.py ('k') | tools/android/loading/run_sandwich.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/loading/pull_sandwich_metrics_unittest.py
diff --git a/tools/android/loading/pull_sandwich_metrics_unittest.py b/tools/android/loading/pull_sandwich_metrics_unittest.py
index ad9fbe1be7dd42afa8ff81373ce70dae91d7e873..3c985087161c61288fb71b8869be4334d3375413 100644
--- a/tools/android/loading/pull_sandwich_metrics_unittest.py
+++ b/tools/android/loading/pull_sandwich_metrics_unittest.py
@@ -146,6 +146,8 @@ class PageTrackTest(unittest.TestCase):
def testCommandLine(self):
tmp_dir = tempfile.mkdtemp()
+ with open(os.path.join(tmp_dir, 'run_infos.json'), 'w') as out_file:
+ json.dump({'urls': ['a.com', 'b.com', 'c.org']}, out_file)
for dirname in ['1', '2', 'whatever']:
os.mkdir(os.path.join(tmp_dir, dirname))
with open(os.path.join(tmp_dir, dirname, 'trace.json'), 'w') as out_file:
« no previous file with comments | « tools/android/loading/pull_sandwich_metrics.py ('k') | tools/android/loading/run_sandwich.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698