| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from recipe_engine.types import freeze | 5 from infra.libs.infra_types import freeze |
| 6 | 6 |
| 7 DEPS = [ | 7 DEPS = [ |
| 8 'file', | 8 'file', |
| 9 'path', | 9 'path', |
| 10 'raw_io', | 10 'raw_io', |
| 11 'step', | 11 'step', |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 | 14 |
| 15 TEST_CONTENTS = freeze({ | 15 TEST_CONTENTS = freeze({ |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 assert files == [str(tmp_dir.join('dummy_file'))], files | 70 assert files == [str(tmp_dir.join('dummy_file'))], files |
| 71 | 71 |
| 72 finally: | 72 finally: |
| 73 api.file.rmtree('cleanup', tmp_dir) | 73 api.file.rmtree('cleanup', tmp_dir) |
| 74 api.file.rmtree('cleanup2', new_tmp) | 74 api.file.rmtree('cleanup2', new_tmp) |
| 75 | 75 |
| 76 | 76 |
| 77 def GenTests(api): | 77 def GenTests(api): |
| 78 yield api.test('file_io') | 78 yield api.test('file_io') |
| 79 | 79 |
| OLD | NEW |