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

Side by Side Diff: appengine/swarming/swarming_bot/bot_code/task_runner_test.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 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
OLDNEW
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
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()
OLDNEW
« no previous file with comments | « appengine/swarming/swarming_bot/bot_code/task_runner.py ('k') | appengine/swarming/swarming_bot/bot_code/test_env_bot_code.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698