# HG changeset patch # User Jeff Hammel # Date 1307498126 25200 # Node ID 48f61cea0a3c27ff5b882812c15525d2c165d1ec # Parent b98cc94ffcfaa54766b736451c3abe93251f7975 test calling the thing diff -r b98cc94ffcfa -r 48f61cea0a3c tests/test.ini --- a/tests/test.ini Tue Jun 07 18:52:46 2011 -0700 +++ b/tests/test.ini Tue Jun 07 18:55:26 2011 -0700 @@ -1,6 +1,6 @@ [:%(here)s/objects.py:StringMunge] . = PRE -delimeter = '!!!' +delimeter = !!! callback = %(callback)s [callback:%(here)s/objects.py:stringsort] \ No newline at end of file diff -r b98cc94ffcfa -r 48f61cea0a3c tests/test_ini.txt --- a/tests/test_ini.txt Tue Jun 07 18:52:46 2011 -0700 +++ b/tests/test_ini.txt Tue Jun 07 18:55:26 2011 -0700 @@ -13,3 +13,8 @@ >>> object = inifactory.load() >>> 'objects.py.StringMunge' in repr(object.__class__) True + +Call it:: + + >>> object('foobar') + 'PRE!!!abfoor'