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

Side by Side Diff: appengine/components/components/ereporter2/logscraper_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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # coding=utf-8 2 # coding=utf-8
3 # Copyright 2014 The LUCI Authors. All rights reserved. 3 # Copyright 2014 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 datetime 7 import datetime
8 import logging 8 import logging
9 import sys 9 import sys
10 import unittest 10 import unittest
11 11
12 from test_support import test_env 12 from test_support import test_env
13 test_env.setup_test_env() 13 test_env.setup_test_env()
14 14
15 from components.ereporter2 import logscraper 15 from components.ereporter2 import logscraper
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 self.assertEqual(range(5), l.head) 210 self.assertEqual(range(5), l.head)
211 self.assertEqual(range(6, 16), list(l.tail)) 211 self.assertEqual(range(6, 16), list(l.tail))
212 212
213 213
214 if __name__ == '__main__': 214 if __name__ == '__main__':
215 if '-v' in sys.argv: 215 if '-v' in sys.argv:
216 unittest.TestCase.maxDiff = None 216 unittest.TestCase.maxDiff = None
217 logging.basicConfig( 217 logging.basicConfig(
218 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR) 218 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR)
219 unittest.main() 219 unittest.main()
OLDNEW
« no previous file with comments | « appengine/components/components/ereporter2/logscraper.py ('k') | appengine/components/components/ereporter2/main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698