| 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 datetime | 6 import datetime |
| 7 import sys | 7 import sys |
| 8 import unittest | 8 import unittest |
| 9 | 9 |
| 10 import test_env | 10 import test_env |
| 11 test_env.setup_test_env() | 11 test_env.setup_test_env() |
| 12 | 12 |
| 13 import webapp2 | 13 import webapp2 |
| 14 import webtest | 14 import webtest |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 expected = { | 126 expected = { |
| 127 'other_requests': 1, | 127 'other_requests': 1, |
| 128 } | 128 } |
| 129 self._test_handler('/dupe', expected) | 129 self._test_handler('/dupe', expected) |
| 130 | 130 |
| 131 | 131 |
| 132 if __name__ == '__main__': | 132 if __name__ == '__main__': |
| 133 if '-v' in sys.argv: | 133 if '-v' in sys.argv: |
| 134 unittest.TestCase.maxDiff = None | 134 unittest.TestCase.maxDiff = None |
| 135 unittest.main() | 135 unittest.main() |
| OLD | NEW |