diff options
author | VG <vg@devys.org> | 2016-03-14 15:23:01 +0100 |
---|---|---|
committer | VG <vg@devys.org> | 2016-03-14 15:23:01 +0100 |
commit | 0eb4d62cf3e1b39540c65acd327925aa3c43947b (patch) | |
tree | 78efd6fb9a03c374208ef7d9df17d3d0576d45d1 /tests/wqueue.py | |
parent | c4d61b7bfa3e3723ff87df8c163c9d77feeff4f8 (diff) | |
download | wqueue-0eb4d62cf3e1b39540c65acd327925aa3c43947b.tar.gz wqueue-0eb4d62cf3e1b39540c65acd327925aa3c43947b.tar.bz2 wqueue-0eb4d62cf3e1b39540c65acd327925aa3c43947b.zip |
wip
Diffstat (limited to 'tests/wqueue.py')
-rwxr-xr-x | tests/wqueue.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/wqueue.py b/tests/wqueue.py index 528a10c..7120bf4 100755 --- a/tests/wqueue.py +++ b/tests/wqueue.py @@ -9,11 +9,14 @@ import asyncio QUEUE_FILE = 'queue.txt' COMMAND = './command.sh' -loop = asyncio.get_event_loop() -class JobHandler(asyncio.SubprocessProtocol): - def process_exited(self): - print() +# loop = asyncio.get_event_loop() + + +# class JobHandler(asyncio.SubprocessProtocol): +# def process_exited(self): +# print() + def do_job(command=None, arg=None): assert(command) |