comparison tests/test_ini.txt @ 76:1339185cbd2d

add another test
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 09 Jun 2011 18:34:27 -0700
parents 20bdb8125817
children 122e3eddcdeb
comparison
equal deleted inserted replaced
75:20bdb8125817 76:1339185cbd2d
58 Test inline wrapper arguments, [extended-fibonacci:@:four=4,five=5:fibonacci]:: 58 Test inline wrapper arguments, [extended-fibonacci:@:four=4,five=5:fibonacci]::
59 59
60 >>> extended = inifactory.load('extended-fibonacci') 60 >>> extended = inifactory.load('extended-fibonacci')
61 >>> [extended(i) for i in range(6)] 61 >>> [extended(i) for i in range(6)]
62 ['one', 'one', 'two', 'three', 'five', 8] 62 ['one', 'one', 'two', 'three', 'five', 8]
63 >>> extended2 = inifactory.load('extended-fibonacci-2')
64 >>> [extended2(i) for i in range(6)]
65 ['one', 'one', 'two', 'three', 'five', 'eight']