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

Side by Side Diff: native_client_sdk/src/build_tools/tests/sdktools_test.py

Issue 11571032: [NaCl SDK] cleanup python unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 import re 7 import re
8 import subprocess 8 import subprocess
9 import sys 9 import sys
10 import tarfile 10 import tarfile
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 class TestAutoUpdateSdkToolsDifferentFilesystem(TestAutoUpdateSdkTools): 221 class TestAutoUpdateSdkToolsDifferentFilesystem(TestAutoUpdateSdkTools):
222 def setUp(self): 222 def setUp(self):
223 # On Linux (on my machine at least), /tmp is a different filesystem than 223 # On Linux (on my machine at least), /tmp is a different filesystem than
224 # the current directory. os.rename fails when the source and destination 224 # the current directory. os.rename fails when the source and destination
225 # are on different filesystems. Test that case here. 225 # are on different filesystems. Test that case here.
226 self.SetupWithBaseDirPrefix('sdktools', tmpdir='.') 226 self.SetupWithBaseDirPrefix('sdktools', tmpdir='.')
227 227
228 228
229 if __name__ == '__main__': 229 if __name__ == '__main__':
230 sys.exit(unittest.main()) 230 sys.exit(unittest.main())
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/tests/sdktools_commands_test.py ('k') | native_client_sdk/src/build_tools/tests/test_all.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698