changeset 17:11039ffec62a

more stubbing
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 27 May 2011 19:06:22 -0700
parents edecb6fbd5a7
children d303a5883991
files tests/test_factory.txt
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_factory.txt	Fri May 27 19:00:43 2011 -0700
+++ b/tests/test_factory.txt	Fri May 27 19:06:22 2011 -0700
@@ -32,3 +32,9 @@
     >>> obj = factory.load()
     >>> obj('foobar')
     'PRE:abfoor'
+
+Let's test the .ini factory::
+
+    >>> from pyloader.factory import IniFactory
+    >>> inifile = os.path.join(here, 'test.ini')
+    >>> inifactory = IniFactory(inifile)