diff profilemanager/tests/test.py @ 39:30fc269a15c8

* add additional tests * remove unused hash argument from ProfileManager.clone
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 06 May 2010 18:08:08 -0700
parents b9d7f5f61e23
children 49cc40572f46
line wrap: on
line diff
--- a/profilemanager/tests/test.py	Thu May 06 18:01:03 2010 -0700
+++ b/profilemanager/tests/test.py	Thu May 06 18:08:08 2010 -0700
@@ -25,6 +25,8 @@
 # Create a new profile:
 profiledir = manager.new('testprofile')
 assert profiledir.endswith('.testprofile'), 'profiledir should end with testprofile, instead it is %s' % profiledir
+assert manager.list() == ['testprofile']
 
 # Cleanup:
 manager.remove('testprofile')
+assert manager.list() == []