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()