--- 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()