Chromium Code Reviews| Index: scripts/slave/recipe_modules/chromium_tests/steps.py |
| diff --git a/scripts/slave/recipe_modules/chromium_tests/steps.py b/scripts/slave/recipe_modules/chromium_tests/steps.py |
| index 5b5e9a1a0da769c90759cad328719d6974235174..1f3c92f2a29c43ed1b1e4726215049d7820b473a 100644 |
| --- a/scripts/slave/recipe_modules/chromium_tests/steps.py |
| +++ b/scripts/slave/recipe_modules/chromium_tests/steps.py |
| @@ -887,6 +887,8 @@ class SwarmingGTestTest(SwarmingTest): |
| test_results_server='test-results.appspot.com') |
| +# TODO(bpastene) Remove all AMP recipe code once all use of it has been |
| +# discontinued. crbug.com/603943 |
| class AMPTest(Test): |
| AMP_INSTANCE_ADDRESS = '172.22.21.180' |
| AMP_INSTANCE_PORT = '80' |
| @@ -982,10 +984,10 @@ class AMPTest(Test): |
| return valid, failures |
| - def has_valid_results(self, api, suffix): |
| + def has_valid_results(self, api, suffix): # pragma: no cover |
| return suffix in self._step_results and self._step_results[suffix]['valid'] |
| - def failures(self, api, suffix): |
| + def failures(self, api, suffix): # pragma: no cover |
|
bpastene
2016/04/15 16:49:23
Hopefully you can forgive my use of the 'no cover'
|
| assert self.has_valid_results(api, suffix) |
| return self._step_results[suffix]['failures'] |