| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2013 The LUCI Authors. All rights reserved. | 2 # Copyright 2013 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 calendar | 6 import calendar |
| 7 import datetime | 7 import datetime |
| 8 import sys | 8 import sys |
| 9 import time | 9 import time |
| 10 import unittest | 10 import unittest |
| 11 | 11 |
| 12 from test_support import test_env | 12 from test_support import test_env |
| 13 test_env.setup_test_env() | 13 test_env.setup_test_env() |
| 14 | 14 |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 'inner': {'c': 'foo'}, | 592 'inner': {'c': 'foo'}, |
| 593 'requests': 23, | 593 'requests': 23, |
| 594 } | 594 } |
| 595 self.assertEqual(expected, a.to_dict()) | 595 self.assertEqual(expected, a.to_dict()) |
| 596 | 596 |
| 597 | 597 |
| 598 if __name__ == '__main__': | 598 if __name__ == '__main__': |
| 599 if '-v' in sys.argv: | 599 if '-v' in sys.argv: |
| 600 unittest.TestCase.maxDiff = None | 600 unittest.TestCase.maxDiff = None |
| 601 unittest.main() | 601 unittest.main() |
| OLD | NEW |