| 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 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 |
| 13 from google.appengine.api import urlfetch_errors | 13 from google.appengine.api import urlfetch_errors |
| 14 from google.appengine.ext import ndb | 14 from google.appengine.ext import ndb |
| (...skipping 394 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 |