Mercurial > hg > pyloader
diff tests/test_factory.txt @ 17:11039ffec62a
more stubbing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 27 May 2011 19:06:22 -0700 |
parents | 0bea5297c156 |
children | b98cc94ffcfa |
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)