# HG changeset patch # User Jeff Hammel # Date 1307636279 25200 # Node ID f0f3525486dbf346355bc4562523906713d50924 # Parent 995b831041be98edfc00735c9497fb1a30ac6060 test calling the section wrapper, [foo:@:fibonacci] diff -r 995b831041be -r f0f3525486db tests/test_ini.txt --- a/tests/test_ini.txt Thu Jun 09 09:15:48 2011 -0700 +++ b/tests/test_ini.txt Thu Jun 09 09:17:59 2011 -0700 @@ -39,11 +39,12 @@ >>> [fib(i) for i in range(5)] ['one', 'one', 'two', 'three', 5] -A different kind of wrapper, [foo:@:fibonacci]:: +A different kind of wrapper, wrapping a section, [foo:@:fibonacci]:: >>> fib = inifactory.load('foo') >>> 'objects.py.Wrapper' in repr(fib) True >>> inifactory.config['foo']['kwargs']['app'] '%(fibonacci)s' - + >>> [fib(i) for i in range(6)] + ['one', 'one', 'two', 'three', 5, 8]