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

Side by Side Diff: tests/swarming_smoke_test.py

Issue 22980008: Merge all swarm_*.py scripts into swarming.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: Improvement, still not done Created 7 years, 4 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 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 logging 6 import logging
7 import os 7 import os
8 import subprocess 8 import subprocess
9 import sys 9 import sys
10 import unittest 10 import unittest
(...skipping 19 matching lines...) Expand all
30 logging.debug(out) 30 logging.debug(out)
31 self.assertEqual(0, p.returncode, out) 31 self.assertEqual(0, p.returncode, out)
32 32
33 33
34 if __name__ == '__main__': 34 if __name__ == '__main__':
35 logging.basicConfig( 35 logging.basicConfig(
36 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR) 36 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR)
37 if '-v' in sys.argv: 37 if '-v' in sys.argv:
38 unittest.TestCase.maxDiff = None 38 unittest.TestCase.maxDiff = None
39 unittest.main() 39 unittest.main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698