hooks/test/unittest_integrity.py
changeset 7791 31bb51ea5485
parent 6964 4813efcee2c6
child 8694 d901c36bcfce
--- a/hooks/test/unittest_integrity.py	Wed Sep 14 09:10:58 2011 +0200
+++ b/hooks/test/unittest_integrity.py	Wed Sep 14 09:11:50 2011 +0200
@@ -62,7 +62,7 @@
         self.execute('INSERT EmailPart X: X content_format "text/plain", X ordernum 1, X content "this is a test"')
         self.execute('INSERT Email X: X messageid "<1234>", X subject "test", X sender Y, X recipients Y, X parts P '
                      'WHERE Y is EmailAddress, P is EmailPart')
-        self.failUnless(self.execute('Email X WHERE X sender Y'))
+        self.assertTrue(self.execute('Email X WHERE X sender Y'))
         self.commit()
         self.execute('DELETE Email X')
         rset = self.execute('Any X WHERE X is EmailPart')