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