changeset 33:48f61cea0a3c

test calling the thing
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 07 Jun 2011 18:55:26 -0700
parents b98cc94ffcfa
children a9eaf65d82c6
files tests/test.ini tests/test_ini.txt
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test.ini	Tue Jun 07 18:52:46 2011 -0700
+++ b/tests/test.ini	Tue Jun 07 18:55:26 2011 -0700
@@ -1,6 +1,6 @@
 [:%(here)s/objects.py:StringMunge]
 . = PRE
-delimeter = '!!!'
+delimeter = !!!
 callback = %(callback)s
 
 [callback:%(here)s/objects.py:stringsort]
\ No newline at end of file
--- a/tests/test_ini.txt	Tue Jun 07 18:52:46 2011 -0700
+++ b/tests/test_ini.txt	Tue Jun 07 18:55:26 2011 -0700
@@ -13,3 +13,8 @@
     >>> object = inifactory.load()
     >>> 'objects.py.StringMunge' in repr(object.__class__)
     True
+
+Call it::
+
+    >>> object('foobar')
+    'PRE!!!abfoor'