No posts available in this category at this time
No talks available in this category at this time
Pytest equivalent of
unittest.TestCase.assertFalse()
is
assert some_condition
.
For example
self.assertFalse(form.is_valid())
using pytest would be
assert not form.is_valid()
.
✨Magic ✨