Beispiel #1
0
 def test_is_false_failed(self):
     soft = SoftAssert()
     soft.is_false(1)
     with self.assertRaises(AssertionError):
         soft.assert_all()
Beispiel #2
0
 def test_is_false_ok(self):
     soft = SoftAssert()
     soft.is_false(0)
     soft.assert_all()