Add missing msg argument to assert_true()

This commit is contained in:
Daniel Neuhäuser 2013-05-22 19:19:46 +02:00
parent 8e9f0bdedc
commit 4d73ef1a19

View file

@ -142,8 +142,8 @@ class FlaskTestCase(unittest.TestCase):
with catcher:
callable(*args, **kwargs)
def assert_true(self, x):
self.assertTrue(x)
def assert_true(self, x, msg=None):
self.assertTrue(x, msg)
class _ExceptionCatcher(object):