# HG changeset patch # User Jeff Hammel # Date 1273273746 25200 # Node ID 619f5918b998230ae0a134d6938e24326e1e30e6 # Parent 494ea3c2f578326cd9cb8a4a4d7754c49d53e528 add a test to ensure the backup is gone diff -r 494ea3c2f578 -r 619f5918b998 profilemanager/tests/test.py --- 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')