Humphrey and I co-authored the blog post for the first ever Django Girls Harare workshop held on the 9th April 2016. The blog post was published a couple of weeks back on the Django Girls Blog. If you missed the news, you can view this post by following this link:
Hope you will enjoy our story!
Pytest equivalent of
unittest.TestCase.assertTrue()
is
assert some_condition
.
For example
self.assertTrue(form.is_valid())
using pytest would be
assert form.is_valid()
.
✨Magic ✨