| OLD | NEW |
| 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 import base64 | 6 import base64 |
| 7 import logging | 7 import logging |
| 8 import sys | 8 import sys |
| 9 import unittest | 9 import unittest |
| 10 | 10 |
| 11 from test_support import test_env | 11 from test_support import test_env |
| 12 test_env.setup_test_env() | 12 test_env.setup_test_env() |
| 13 | 13 |
| 14 import mock | 14 import mock |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 self.assertFalse(config.has_project_access('chromium')) | 175 self.assertFalse(config.has_project_access('chromium')) |
| 176 | 176 |
| 177 | 177 |
| 178 | 178 |
| 179 if __name__ == '__main__': | 179 if __name__ == '__main__': |
| 180 if '-v' in sys.argv: | 180 if '-v' in sys.argv: |
| 181 unittest.TestCase.maxDiff = None | 181 unittest.TestCase.maxDiff = None |
| 182 else: | 182 else: |
| 183 logging.basicConfig(level=logging.CRITICAL) | 183 logging.basicConfig(level=logging.CRITICAL) |
| 184 unittest.main() | 184 unittest.main() |
| OLD | NEW |