| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # coding=utf-8 | 2 # coding=utf-8 |
| 3 # Copyright 2013 The Swarming Authors. All rights reserved. | 3 # Copyright 2013 The LUCI Authors. All rights reserved. |
| 4 # Use of this source code is governed by the Apache v2.0 license that can be | 4 # Use of this source code is governed by the Apache v2.0 license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 import base64 | 7 import base64 |
| 8 import json | 8 import json |
| 9 import logging | 9 import logging |
| 10 import os | 10 import os |
| 11 import signal | 11 import signal |
| 12 import shutil | 12 import shutil |
| 13 import sys | 13 import sys |
| (...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 fix_encoding.fix_encoding() | 1033 fix_encoding.fix_encoding() |
| 1034 if '-v' in sys.argv: | 1034 if '-v' in sys.argv: |
| 1035 unittest.TestCase.maxDiff = None | 1035 unittest.TestCase.maxDiff = None |
| 1036 logging_utils.prepare_logging(None) | 1036 logging_utils.prepare_logging(None) |
| 1037 logging_utils.set_console_level( | 1037 logging_utils.set_console_level( |
| 1038 logging.DEBUG if '-v' in sys.argv else logging.CRITICAL+1) | 1038 logging.DEBUG if '-v' in sys.argv else logging.CRITICAL+1) |
| 1039 # Fix litteral text expectation. | 1039 # Fix litteral text expectation. |
| 1040 os.environ['LANG'] = 'en_US.UTF-8' | 1040 os.environ['LANG'] = 'en_US.UTF-8' |
| 1041 os.environ['LANGUAGE'] = 'en_US.UTF-8' | 1041 os.environ['LANGUAGE'] = 'en_US.UTF-8' |
| 1042 unittest.main() | 1042 unittest.main() |
| OLD | NEW |