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

Side by Side Diff: tools/telemetry/telemetry/core/util_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 unittest 5 import unittest
6 import shutil 6 import shutil
7 import tempfile 7 import tempfile
8 8
9 from telemetry.core import util 9 from telemetry.core import util
10 10
11 class TestWait(unittest.TestCase): 11 class TestWait(unittest.TestCase):
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 with open( 55 with open(
56 os.path.join(self.test_directory, 'test_%03d.json' % i), 'w') as _: 56 os.path.join(self.test_directory, 'test_%03d.json' % i), 'w') as _:
57 pass 57 pass
58 next_json_test_file_path = util.GetSequentialFileName( 58 next_json_test_file_path = util.GetSequentialFileName(
59 os.path.join(self.test_directory, 'test')) 59 os.path.join(self.test_directory, 'test'))
60 self.assertEquals(os.path.join(self.test_directory, 'test_003'), 60 self.assertEquals(os.path.join(self.test_directory, 'test_003'),
61 next_json_test_file_path) 61 next_json_test_file_path)
62 62
63 def tearDown(self): 63 def tearDown(self):
64 shutil.rmtree(self.test_directory) 64 shutil.rmtree(self.test_directory)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698