changeset 76:e76a122d8622

more verbose assertion
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 17:22:38 -0700
parents a63dd19807c8
children e091caa41075
files profilemanager/tests/test.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/profilemanager/tests/test.py	Fri May 07 17:20:13 2010 -0700
+++ b/profilemanager/tests/test.py	Fri May 07 17:22:38 2010 -0700
@@ -60,7 +60,7 @@
 
 # Restore the newest profile
 restored = manager.restore('testprofile')
-assert restored != old_backups[0], "Tried to restore the newest but got the old one"
+assert restored != old_backups[0], "Tried to restore the newest but got the old one [%s]" % old_backups[0]
 manager.restore('testprofile', delete=True)
 manager.restore('testprofile', delete=True)
 assert not manager.backups()