| OLD | NEW |
| 1 from recipe_engine import recipe_test_api | 1 from recipe_engine import recipe_test_api |
| 2 from recipe_engine.config_types import Path, NamedBasePath | 2 from recipe_engine.config_types import Path, NamedBasePath |
| 3 | 3 |
| 4 class PathTestApi(recipe_test_api.RecipeTestApi): | 4 class PathTestApi(recipe_test_api.RecipeTestApi): |
| 5 @recipe_test_api.mod_test_data | 5 @recipe_test_api.mod_test_data |
| 6 @staticmethod | 6 @staticmethod |
| 7 def exists(*paths): | 7 def exists(*paths): |
| 8 assert all(isinstance(p, Path) for p in paths) | 8 assert all(isinstance(p, Path) for p in paths) |
| 9 return paths | 9 return paths |
| 10 | 10 |
| 11 def __getitem__(self, name): | 11 def __getitem__(self, name): |
| 12 return Path(NamedBasePath(name)) | 12 return Path(NamedBasePath(name)) |
| OLD | NEW |