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

Side by Side Diff: appengine/components/tests/endpoints_smoke_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 # 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 """Smoke test for Cloud Endpoints support in auth component. 6 """Smoke test for Cloud Endpoints support in auth component.
7 7
8 It launches app via dev_appserver and queries a bunch of cloud endpoints 8 It launches app via dev_appserver and queries a bunch of cloud endpoints
9 methods. 9 methods.
10 """ 10 """
11 11
12 import unittest 12 import unittest
13 import os 13 import os
14 import sys 14 import sys
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 def check_forbidden(self): 63 def check_forbidden(self):
64 response = self.app.client.json_request( 64 response = self.app.client.json_request(
65 '/_ah/api/testing_service/v1/forbidden') 65 '/_ah/api/testing_service/v1/forbidden')
66 self.assertEqual(403, response.http_code) 66 self.assertEqual(403, response.http_code)
67 67
68 68
69 if __name__ == '__main__': 69 if __name__ == '__main__':
70 fix_encoding.fix_encoding() 70 fix_encoding.fix_encoding()
71 gae_sdk_utils.setup_gae_env() 71 gae_sdk_utils.setup_gae_env()
72 unittest.main() 72 unittest.main()
OLDNEW
« no previous file with comments | « appengine/components/test_support/test_env.py ('k') | appengine/components/tests/test_endpoints_app/main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698