From 24662559a3554437d6ffee37d9b7c54cae1f18e3 Mon Sep 17 00:00:00 2001 From: Liraz Siri Date: Wed, 3 Aug 2011 11:41:50 +0300 Subject: [PATCH] committed hello test --- tests/hello/.gitignore | 1 + tests/hello/hello.py | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/hello/.gitignore create mode 100755 tests/hello/hello.py diff --git a/tests/hello/.gitignore b/tests/hello/.gitignore new file mode 100644 index 0000000..799cb15 --- /dev/null +++ b/tests/hello/.gitignore @@ -0,0 +1 @@ +sessions diff --git a/tests/hello/hello.py b/tests/hello/hello.py new file mode 100755 index 0000000..36b1566 --- /dev/null +++ b/tests/hello/hello.py @@ -0,0 +1,16 @@ +#!/usr/bin/python +"""Print hello world""" + +from cloudtask import Task + +class T(Task): + DESCRIPTION = __doc__ + TIMEOUT = 3 + COMMAND = "/usr/local/bin/hello" + OVERLAY = 'overlay/' + WORKERS = '/tmp/workers' + SPLIT = 2 + SESSIONS = 'sessions/' + +if __name__ == "__main__": + T.main()