# HG changeset patch # User Jeff Hammel # Date 1306548382 25200 # Node ID 11039ffec62a24feaa29fc1e0cb6de18ea036e38 # Parent edecb6fbd5a791a81df5c8f663e54ee117ca3ef2 more stubbing diff -r edecb6fbd5a7 -r 11039ffec62a tests/test_factory.txt --- 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)