# HG changeset patch # User Jeff Hammel # Date 1307632628 25200 # Node ID 6b48dee5b92b383784239beb1b0b739528be4e39 # Parent 2a1648a53857b539d33e1c1292ff2e6b85ac5572 add a failing test for wrapper of type [foo:@:fibonacci] diff -r 2a1648a53857 -r 6b48dee5b92b tests/test_ini.txt --- a/tests/test_ini.txt Wed Jun 08 23:47:52 2011 -0700 +++ b/tests/test_ini.txt Thu Jun 09 08:17:08 2011 -0700 @@ -33,9 +33,12 @@ >>> [fib(i) for i in range(5)] [1, 1, 2, 3, 5] -Now let's test a simple wrapper:: +Now let's test a simple wrapper, [readable-fibonacci:@:%(here)s/objects.py:fib]:: >>> fib = inifactory.load('readable-fibonacci') - >>> from pprint import pprint >>> [fib(i) for i in range(5)] ['one', 'one', 'two', 'three', 5] + +A different kind of wrapper, [foo:@:fibonacci]:: + + >>> fib = inifactory.load('foo')