| # Copyright 2021 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| from recipe_engine import recipe_test_api |
| |
| |
| class AutocorrelatorTestApi(recipe_test_api.RecipeTestApi): |
| def check_ci(self, test_data): |
| return self.step_data( |
| "check for correlated failures.check ci.run autocorrelator", |
| self.m.json.output(test_data), |
| ) |
| |
| def check_try(self, test_data): |
| return self.step_data( |
| "check for correlated failures.check try.run autocorrelator", |
| self.m.json.output(test_data), |
| ) |