Mercurial > mozilla > hg > ProfileManager
comparison profilemanager/tests/test_profilemanager.txt @ 23:a8601c2273b5
* hopefully fix tests
* correct typo in ProfileManager
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 May 2010 15:43:02 -0700 |
parents | 4a1815f8d146 |
children | 5988a15da3b4 |
comparison
equal
deleted
inserted
replaced
22:956f5a4c589a | 23:a8601c2273b5 |
---|---|
14 | 14 |
15 Instatiate a ProfileManager: | 15 Instatiate a ProfileManager: |
16 | 16 |
17 >>> manager = ProfileManager(profiles) | 17 >>> manager = ProfileManager(profiles) |
18 | 18 |
19 (I should delete any existing profiles at this point, but instead I'll | |
20 defer this to later.) | |
21 | |
19 Create a new profile: | 22 Create a new profile: |
20 | 23 |
21 >>> profiledir = manager.new('testprofile') | 24 >>> profiledir = manager.new('testprofile') |
22 >>> print profiledir | 25 >>> profiledir |
23 ...profilemanager/tests/profiles/...testprofile | 26 '...profilemanager/tests/profiles/...testprofile' |
24 | 27 |
25 Cleanup: | 28 Cleanup: |
26 | 29 |
27 >>> manager.remove('testprofile') | 30 >>> manager.remove('testprofile') |