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: |