blob: 337872eea86c51b039c36e4898084067574e0a60 [file] [log] [blame]
# Copyright 2015 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
"""Tests that step_data can accept multiple specs at once."""
DEPS = [
def RunSteps(api):
doge = api.step('doge',
['doge'], stdout=api.raw_io.output(), stderr=api.raw_io.output())
assert doge.stdout == 'such stdout'
assert doge.stderr == 'so stderring'
def GenTests(api):
yield (
api.test('basic') +
api.raw_io.stream_output('such stdout', stream='stdout'),
api.raw_io.stream_output('so stderring', stream='stderr')))