OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2015 The LUCI Authors. All rights reserved. | 2 # Copyright 2015 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 test_env | 6 import test_env |
7 test_env.setup_test_env() | 7 test_env.setup_test_env() |
8 | 8 |
9 import datetime | 9 import datetime |
10 import mock | 10 import mock |
11 | 11 |
12 from components.config import validation | 12 from components.config import validation |
13 from components import auth | 13 from components import auth |
14 from components import gitiles | 14 from components import gitiles |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 'rev_link': new_loc, | 112 'rev_link': new_loc, |
113 'rev_hash': 'aaaaaaa', | 113 'rev_hash': 'aaaaaaa', |
114 'rev_repo': 'x', | 114 'rev_repo': 'x', |
115 'cur_rev_hash': 'bbbbbbb', | 115 'cur_rev_hash': 'bbbbbbb', |
116 'cur_rev_link': old_loc, | 116 'cur_rev_link': old_loc, |
117 }) | 117 }) |
118 | 118 |
119 | 119 |
120 if __name__ == '__main__': | 120 if __name__ == '__main__': |
121 test_env.main() | 121 test_env.main() |
OLD | NEW |