X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=plugins%2Fskeleton.py;fp=plugins%2Fskeleton.py;h=8ab9b579b1b6f38e039172c48b7305dc1f2ac0d0;hb=b5bc4ffdfbaa76db7cd4cdeb078097ec17024f6b;hp=8d4305fb83ddf166bef386086b4b822ddbe1576c;hpb=c6d30c7f18e835e0b99032d01b1f8acd7f077ec6;p=webber.git diff --git a/plugins/skeleton.py b/plugins/skeleton.py index 8d4305f..8ab9b57 100644 --- a/plugins/skeleton.py +++ b/plugins/skeleton.py @@ -37,7 +37,7 @@ def checkconfig(params): # param is empty # @set_hook("start") -def finish(params): +def start(params): if cfg.test_verbose: print "in skeleton.start" @@ -142,7 +142,9 @@ def finish(params): -# TODO: Description missing +# +# This is a sample macro. Macros are called with [!name]. +# @set_macro("sample") def sample_macro(params): if cfg.test_verbose: @@ -151,7 +153,9 @@ def sample_macro(params): -# TODO: Description missing +# +# This is a sample function. Functions are called with ${name(args)}. +# @set_function("func") def sample_func(): if cfg.test_verbose: