Browse Source

assert_ is assert_true

pull/1172/head
Armin Ronacher 10 years ago
parent
commit
750ab16364
  1. 1
      flask/testsuite/__init__.py

1
flask/testsuite/__init__.py

@ -147,6 +147,7 @@ class FlaskTestCase(unittest.TestCase):
def assert_true(self, x, msg=None):
self.assertTrue(x, msg)
assert_ = assert_true
def assert_false(self, x, msg=None):
self.assertFalse(x, msg)

Loading…
Cancel
Save