Exemplo n.º 1
0
 def test_is_none_failed(self):
     soft = SoftAssert()
     soft.is_none(1)
     with self.assertRaises(AssertionError):
         soft.assert_all()
Exemplo n.º 2
0
 def test_is_none_ok(self):
     soft = SoftAssert()
     soft.is_none(None)
     soft.assert_all()