X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/checkpath-python/blobdiff_plain/e822318258fb5977492017f5df1cf9230dd3800d..333870bbf36270a9132707e1cb1aff9fc3ace8ab:/test.py diff --git a/test.py b/test.py new file mode 100644 index 0000000..9eb2d8d --- /dev/null +++ b/test.py @@ -0,0 +1,12 @@ +import checkpath as CP + +class VerboseCheck (CP.CheckPath): + def __init__(me): + CP.CheckPath.__init__(me) + me.what |= CP.REPORT + def report(me, what, verb, path, msg): + print msg + +cp = VerboseCheck() +cp.check('/home/mdw') +