OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2015 The Swarming 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 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 datetime | 6 import datetime |
7 import os | 7 import os |
8 | 8 |
9 from test_env import future | 9 from test_env import future |
10 import test_env | 10 import test_env |
11 test_env.setup_test_env() | 11 test_env.setup_test_env() |
12 | 12 |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 ), | 409 ), |
410 ) | 410 ) |
411 ] | 411 ] |
412 | 412 |
413 gitiles_import.import_projects() | 413 gitiles_import.import_projects() |
414 self.assertEqual(gitiles_import.import_project.call_count, 2) | 414 self.assertEqual(gitiles_import.import_project.call_count, 2) |
415 | 415 |
416 | 416 |
417 if __name__ == '__main__': | 417 if __name__ == '__main__': |
418 test_env.main() | 418 test_env.main() |
OLD | NEW |