forked from pool/python-delegator.py
7 lines
170 B
Python
7 lines
170 B
Python
|
import pytest
|
||
|
import delegator
|
||
|
|
||
|
def test_chain():
|
||
|
c = delegator.chain("seq 4 | awk '{ print $0 \" test\"; }'")
|
||
|
assert c.out == '1 test\n2 test\n3 test\n4 test\n'
|