def test_assert_not_in_bad(item, collection): with asserts.expect_exception(AssertionError): asserts.is_not_in(item, collection)
def test_assert_not_in_ok(item, collection): asserts.is_not_in(item, collection)