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

Side by Side Diff: appengine/components/components/auth/handler_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, 6 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 # Copyright 2014 The LUCI Authors. All rights reserved. 2 # Copyright 2014 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 # Disable 'Unused variable', 'Unused argument' and 'Method could be a function'. 6 # Disable 'Unused variable', 'Unused argument' and 'Method could be a function'.
7 # pylint: disable=W0612,W0613,R0201 7 # pylint: disable=W0612,W0613,R0201
8 8
9 import datetime 9 import datetime
10 import json 10 import json
11 import os 11 import os
12 import sys 12 import sys
13 import unittest 13 import unittest
14 14
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 }) 469 })
470 self.assertEqual( 470 self.assertEqual(
471 model.Identity(model.IDENTITY_SERVICE, 'some-app'), 471 model.Identity(model.IDENTITY_SERVICE, 'some-app'),
472 handler.service_to_service_authentication(request)) 472 handler.service_to_service_authentication(request))
473 473
474 474
475 if __name__ == '__main__': 475 if __name__ == '__main__':
476 if '-v' in sys.argv: 476 if '-v' in sys.argv:
477 unittest.TestCase.maxDiff = None 477 unittest.TestCase.maxDiff = None
478 unittest.main() 478 unittest.main()
OLDNEW
« no previous file with comments | « appengine/components/components/auth/handler.py ('k') | appengine/components/components/auth/ipaddr.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698