diff profilemanager/tests/test.py @ 50:4cd6fc940407

* test backup * import needed time
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 09:43:35 -0700
parents cbd471e0146f
children dc9324b52c2a
line wrap: on
line diff
--- a/profilemanager/tests/test.py	Fri May 07 09:27:39 2010 -0700
+++ b/profilemanager/tests/test.py	Fri May 07 09:43:35 2010 -0700
@@ -32,6 +32,10 @@
 assert sorted(manager.list()) == ['cloneprofile', 'testprofile']
 manager.remove('cloneprofile')
 
+# Backup the profile
+manager.backup('testprofile')
+manager.restore('testprofile')
+
 # Cleanup:
 manager.remove('testprofile')
 assert manager.list() == []