Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Side by Side Diff: appengine/auth_service/tests/frontend_handlers_test.py

Issue 215360043: Standardize skip_files to test_.+; rename support to test_support. (Closed) Base URL: https://code.google.com/p/swarming@master
Patch Set: Created 9 years, 12 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Swarming Authors. All rights reserved. 2 # Copyright 2014 The Swarming 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 by the Apache v2.0 license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import logging 6 import logging
7 import os 7 import os
8 import sys 8 import sys
9 import unittest 9 import unittest
10 10
11 APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 11 APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
12 12
13 import test_env 13 import test_env
14 test_env.setup_test_env() 14 test_env.setup_test_env()
15 15
16 # From components/third_party/ 16 # From components/third_party/
17 import webtest 17 import webtest
18 18
19 from components import auth_testing 19 from components import auth_testing
20 from components import template 20 from components import template
21 21 from test_support import test_case
22 from support import test_case
23 22
24 from common import importer 23 from common import importer
25 from common import replication 24 from common import replication
26
vadimsh 2015/03/19 06:01:01 eh, I like new lines between groups of imports, yo
M-A 2015/03/19 14:50:10 This is because this confuses the difference betwe
27 from frontend import handlers 25 from frontend import handlers
28 26
29 27
30 GOOD_IMPORTER_CONFIG = [ 28 GOOD_IMPORTER_CONFIG = [
31 { 29 {
32 'domain': 'example.com', 30 'domain': 'example.com',
33 'systems': ['ldap'], 31 'systems': ['ldap'],
34 'url': 'http://example.com/stuff.tar.gz', 32 'url': 'http://example.com/stuff.tar.gz',
35 }, 33 },
36 { 34 {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 self.assertEqual([], importer.read_config()) 98 self.assertEqual([], importer.read_config())
101 99
102 100
103 if __name__ == '__main__': 101 if __name__ == '__main__':
104 if '-v' in sys.argv: 102 if '-v' in sys.argv:
105 unittest.TestCase.maxDiff = None 103 unittest.TestCase.maxDiff = None
106 logging.basicConfig(level=logging.DEBUG) 104 logging.basicConfig(level=logging.DEBUG)
107 else: 105 else:
108 logging.basicConfig(level=logging.FATAL) 106 logging.basicConfig(level=logging.FATAL)
109 unittest.main() 107 unittest.main()
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b