| OLD | NEW |
| 1 from slave import recipe_test_api | 1 from slave import recipe_test_api |
| 2 from slave.recipe_config_types import Path |
| 2 | 3 |
| 3 class PathTestApi(recipe_test_api.RecipeTestApi): | 4 class PathTestApi(recipe_test_api.RecipeTestApi): |
| 4 @recipe_test_api.mod_test_data | 5 @recipe_test_api.mod_test_data |
| 5 @staticmethod | 6 @staticmethod |
| 6 def exists(*paths): | 7 def exists(*paths): |
| 8 assert all(isinstance(p, Path) for p in paths) |
| 7 return paths | 9 return paths |
| 10 |
| 11 def __getattr__(self, name): |
| 12 return Path(name, bypass=True) |
| 13 |
| OLD | NEW |