# HG changeset patch # User Jeff Hammel # Date 1273157241 25200 # Node ID 5f81f9d321bacccd7f777893f8179f614ce5d8c4 # Parent a07e53273b70081e577a98999ad5452d8e65ead3 instantiate a profile manager in the tests with a stub profiles.ini file diff -r a07e53273b70 -r 5f81f9d321ba profilemanager/tests/profiles/profiles.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/profilemanager/tests/profiles/profiles.ini Thu May 06 07:47:21 2010 -0700 @@ -0,0 +1,1 @@ +[General] diff -r a07e53273b70 -r 5f81f9d321ba profilemanager/tests/test_profilemanager.txt --- a/profilemanager/tests/test_profilemanager.txt Thu May 06 07:40:17 2010 -0700 +++ b/profilemanager/tests/test_profilemanager.txt Thu May 06 07:47:21 2010 -0700 @@ -11,3 +11,7 @@ >>> from pkg_resources import resource_filename >>> path = os.path.join('tests', 'profiles', 'profiles.ini') >>> profiles = resource_filename('profilemanager', path) + +Instatiate a ProfileManager: + + >>> manager = ProfileManager(profiles)