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

Side by Side Diff: appengine/components/components/auth/ui/rest_api_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 'Method could be a function.' 6 # Disable 'Method could be a function.'
7 # pylint: disable=R0201 7 # pylint: disable=R0201
8 8
9 import json 9 import json
10 import logging 10 import logging
11 import sys 11 import sys
12 import unittest 12 import unittest
13 13
14 from test_support import test_env 14 from test_support import test_env
(...skipping 2004 matching lines...) Expand 10 before | Expand all | Expand 10 after
2019 self.assertEqual( 2019 self.assertEqual(
2020 'http://locahost:1234/some/method?arg=1', response.headers['Location']) 2020 'http://locahost:1234/some/method?arg=1', response.headers['Location'])
2021 2021
2022 2022
2023 if __name__ == '__main__': 2023 if __name__ == '__main__':
2024 if '-v' in sys.argv: 2024 if '-v' in sys.argv:
2025 unittest.TestCase.maxDiff = None 2025 unittest.TestCase.maxDiff = None
2026 logging.basicConfig( 2026 logging.basicConfig(
2027 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR) 2027 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR)
2028 unittest.main() 2028 unittest.main()
OLDNEW
« no previous file with comments | « appengine/components/components/auth/ui/rest_api.py ('k') | appengine/components/components/auth/ui/static/css/common.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698