hooks/test/unittest_bookmarks.py
changeset 7791 31bb51ea5485
parent 5426 0d4853a6e5ee
child 9855 f8e430fb4d07
--- a/hooks/test/unittest_bookmarks.py	Wed Sep 14 09:10:58 2011 +0200
+++ b/hooks/test/unittest_bookmarks.py	Wed Sep 14 09:11:50 2011 +0200
@@ -28,10 +28,10 @@
         self.commit()
         self.execute('DELETE X bookmarked_by U WHERE U login "admin"')
         self.commit()
-        self.failUnless(self.execute('Any X WHERE X eid %(x)s', {'x': beid}))
+        self.assertTrue(self.execute('Any X WHERE X eid %(x)s', {'x': beid}))
         self.execute('DELETE X bookmarked_by U WHERE U login "anon"')
         self.commit()
-        self.failIf(self.execute('Any X WHERE X eid %(x)s', {'x': beid}))
+        self.assertFalse(self.execute('Any X WHERE X eid %(x)s', {'x': beid}))
 
 if __name__ == '__main__':
     unittest_main()