MCPcopy
hub / github.com/python-attrs/attrs / test_success_with_value

Method test_success_with_value

tests/test_validators.py:407–414  ·  view source on GitHub ↗

If the value is in our options, nothing happens.

(self)

Source from the content-addressed store, hash-verified

405 assert in_.__name__ in validator_module.__all__
406
407 def test_success_with_value(self):
408 """
409 If the value is in our options, nothing happens.
410 """
411 v = in_([1, 2, 3])
412 a = simple_attr("test")
413
414 v(1, a, 3)
415
416 def test_fail(self):
417 """

Callers

nothing calls this directly

Calls 2

in_Function · 0.90
simple_attrFunction · 0.85

Tested by

no test coverage detected