Exemplo n.º 1
0
 def test_not_contains_failed(self):
     soft = SoftAssert()
     soft.not_contains(2, [1, 2])
     with self.assertRaises(AssertionError):
         soft.assert_all()
Exemplo n.º 2
0
 def test_not_contains_ok(self):
     soft = SoftAssert()
     soft.not_contains(3, [1, 2])
     soft.assert_all()