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

Side by Side Diff: tools/telemetry/telemetry/page/page_set_archive_info_unittest.py

Issue 319813004: [Telemetry] Update copyright header style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import os 4 import os
5 import shutil 5 import shutil
6 import tempfile 6 import tempfile
7 import unittest 7 import unittest
8 8
9 from telemetry.page import cloud_storage 9 from telemetry.page import cloud_storage
10 from telemetry.page import page 10 from telemetry.page import page
11 from telemetry.page import page_set_archive_info 11 from telemetry.page import page_set_archive_info
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 self.assertTrue(os.path.exists(new_recording)) 153 self.assertTrue(os.path.exists(new_recording))
154 self.assertFalse(os.path.exists(new_temp_recording)) 154 self.assertFalse(os.path.exists(new_temp_recording))
155 self.assertCorrectHashFile(new_recording) 155 self.assertCorrectHashFile(new_recording)
156 156
157 # Check that the archive info was written correctly. 157 # Check that the archive info was written correctly.
158 self.assertTrue(os.path.exists(self.page_set_archive_info_file)) 158 self.assertTrue(os.path.exists(self.page_set_archive_info_file))
159 read_archive_info = page_set_archive_info.PageSetArchiveInfo.FromFile( 159 read_archive_info = page_set_archive_info.PageSetArchiveInfo.FromFile(
160 self.page_set_archive_info_file) 160 self.page_set_archive_info_file)
161 self.assertEquals(new_recording, 161 self.assertEquals(new_recording,
162 read_archive_info.WprFilePathForPage(page1)) 162 read_archive_info.WprFilePathForPage(page1))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698