diff profilemanager/tests/test.py @ 72:619f5918b998

add a test to ensure the backup is gone
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 16:09:06 -0700
parents 6cb674db8f51
children 1cfd259f74cf
line wrap: on
line diff
--- a/profilemanager/tests/test.py	Fri May 07 16:07:29 2010 -0700
+++ b/profilemanager/tests/test.py	Fri May 07 16:09:06 2010 -0700
@@ -39,6 +39,10 @@
 assert backups[0][0].startswith('testprofile')
 manager.restore('testprofile')
 manager.restore('testprofile', delete=True)
+backups = manager.backups('testprofile')
+assert not backups
+# TODO: test the backup with a populated profile
+
 
 # Cleanup:
 manager.remove('testprofile')