Mercurial > mozilla > hg > ProfileManager
changeset 13:5f81f9d321ba
instantiate a profile manager in the tests with a stub profiles.ini file
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 May 2010 07:47:21 -0700 |
parents | a07e53273b70 |
children | e846544b4d92 |
files | profilemanager/tests/profiles/profiles.ini profilemanager/tests/test_profilemanager.txt |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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]
--- 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)