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