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

Side by Side Diff: appengine/swarming/handlers_bot_test.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 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
« no previous file with comments | « appengine/swarming/handlers_bot.py ('k') | appengine/swarming/handlers_endpoints.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # coding: utf-8 2 # coding: utf-8
3 # Copyright 2015 The LUCI Authors. All rights reserved. 3 # Copyright 2015 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 under the Apache License, Version 2.0
5 # found in the LICENSE file. 5 # that can be found in the LICENSE file.
6 6
7 import base64 7 import base64
8 import datetime 8 import datetime
9 import logging 9 import logging
10 import os 10 import os
11 import random 11 import random
12 import StringIO 12 import StringIO
13 import sys 13 import sys
14 import unittest 14 import unittest
15 import zipfile 15 import zipfile
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 self.assertEqual(expected, set(z.namelist())) 878 self.assertEqual(expected, set(z.namelist()))
879 879
880 880
881 if __name__ == '__main__': 881 if __name__ == '__main__':
882 if '-v' in sys.argv: 882 if '-v' in sys.argv:
883 unittest.TestCase.maxDiff = None 883 unittest.TestCase.maxDiff = None
884 logging.basicConfig( 884 logging.basicConfig(
885 level=logging.DEBUG if '-v' in sys.argv else logging.CRITICAL, 885 level=logging.DEBUG if '-v' in sys.argv else logging.CRITICAL,
886 format='%(levelname)-7s %(filename)s:%(lineno)3d %(message)s') 886 format='%(levelname)-7s %(filename)s:%(lineno)3d %(message)s')
887 unittest.main() 887 unittest.main()
OLDNEW
« no previous file with comments | « appengine/swarming/handlers_bot.py ('k') | appengine/swarming/handlers_endpoints.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698