changeset 64:f0f3525486db

test calling the section wrapper, [foo:@:fibonacci]
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 09 Jun 2011 09:17:59 -0700
parents 995b831041be
children 6bb431e41e0b
files tests/test_ini.txt
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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]