14
0

Accepting request 682891 from home:jayvdb:coala:python3-bears

- Initial spec for v0.1.1, using exclude-eof-from-result.patch

OBS-URL: https://build.opensuse.org/request/show/682891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-delegator.py?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2019-03-10 10:49:06 +00:00
committed by Git OBS Bridge
commit a5dfcb452a
7 changed files with 143 additions and 0 deletions

6
test_chain.py Normal file
View File

@@ -0,0 +1,6 @@
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'