blob: 49ac839b9b81a6a15b0067a75401ca4b6306874b [file] [log] [blame]
# Copyright 2019 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
from RECIPE_MODULES.fuchsia.testing_requests import api
class FuchsiaTestingRequestsTestApi(recipe_test_api.RecipeTestApi):
SERIAL_LOG_DIR = api.TestingRequestsApi.SERIAL_LOG_DIR
SYSLOG_DIR = api.TestingRequestsApi.SYSLOG_DIR
TEST_RESULTS_DIR_NAME = api.TestingRequestsApi.TEST_RESULTS_DIR_NAME
def task_requests_step_data(self, task_requests, step_name):
"""Returns mock step data for swarming task requests."""
return self.step_data(step_name, self.m.file.read_json(task_requests))