diff options
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) |