def test_is_true_failed(self): soft = SoftAssert() soft.is_true(0) with self.assertRaises(AssertionError): soft.assert_all()
def test_is_true_ok(self): soft = SoftAssert() soft.is_true(1) soft.assert_all()
def test_is_true_failed(self): soft = SoftAssert() soft.is_true(0) with self.assertRaises(AssertionError): soft.assert_all()
def test_is_true_ok(self): soft = SoftAssert() soft.is_true(1) soft.assert_all()