# HG changeset patch # User Jeff Hammel # Date 1307669667 25200 # Node ID 1339185cbd2dac33158742da650e89658b63c65e # Parent 20bdb81258171b8d5c9c58f32cf2e3427b284f11 add another test diff -r 20bdb8125817 -r 1339185cbd2d tests/test.ini --- a/tests/test.ini Thu Jun 09 18:31:13 2011 -0700 +++ b/tests/test.ini Thu Jun 09 18:34:27 2011 -0700 @@ -18,3 +18,4 @@ n=5 [extended-fibonacci:@:four=4,five=5:fibonacci] +[extended-fibonacci-2:@:five=5,eight=8:%(here)s/objects.py:fib] diff -r 20bdb8125817 -r 1339185cbd2d tests/test_ini.txt --- a/tests/test_ini.txt Thu Jun 09 18:31:13 2011 -0700 +++ b/tests/test_ini.txt Thu Jun 09 18:34:27 2011 -0700 @@ -60,3 +60,6 @@ >>> extended = inifactory.load('extended-fibonacci') >>> [extended(i) for i in range(6)] ['one', 'one', 'two', 'three', 'five', 8] + >>> extended2 = inifactory.load('extended-fibonacci-2') + >>> [extended2(i) for i in range(6)] + ['one', 'one', 'two', 'three', 'five', 'eight']