changeset 76:1339185cbd2d

add another test
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 09 Jun 2011 18:34:27 -0700
parents 20bdb8125817
children efb7a8a189e8
files tests/test.ini tests/test_ini.txt
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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]
--- 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']