changeset 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 494ea3c2f578
children 1cfd259f74cf
files profilemanager/tests/test.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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')