| OLD | NEW |
| 1 from slave import recipe_test_api | 1 from recipe_engine import recipe_test_api |
| 2 | 2 |
| 3 class PropertiesTestApi(recipe_test_api.RecipeTestApi): | 3 class PropertiesTestApi(recipe_test_api.RecipeTestApi): |
| 4 def __call__(self, **kwargs): | 4 def __call__(self, **kwargs): |
| 5 ret = self.test(None) | 5 ret = self.test(None) |
| 6 ret.properties.update(kwargs) | 6 ret.properties.update(kwargs) |
| 7 return ret | 7 return ret |
| 8 | 8 |
| 9 def generic(self, **kwargs): | 9 def generic(self, **kwargs): |
| 10 """ | 10 """ |
| 11 Merge kwargs into a typical buildbot properties blob, and return the blob. | 11 Merge kwargs into a typical buildbot properties blob, and return the blob. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 patchset=1, | 62 patchset=1, |
| 63 project='chrome', | 63 project='chrome', |
| 64 repository='', | 64 repository='', |
| 65 requester='commit-bot@chromium.org', | 65 requester='commit-bot@chromium.org', |
| 66 revision='HEAD', | 66 revision='HEAD', |
| 67 rietveld='https://codereview.chromium.org', | 67 rietveld='https://codereview.chromium.org', |
| 68 patch_project='chromium', | 68 patch_project='chromium', |
| 69 ) | 69 ) |
| 70 ret.properties.update(kwargs) | 70 ret.properties.update(kwargs) |
| 71 return ret | 71 return ret |
| OLD | NEW |