If both the key and value validators succeed, nothing happens.
(self)
| 667 | assert deep_mapping.__name__ in validator_module.__all__ |
| 668 | |
| 669 | def test_success(self): |
| 670 | """ |
| 671 | If both the key and value validators succeed, nothing happens. |
| 672 | """ |
| 673 | key_validator = instance_of(str) |
| 674 | value_validator = instance_of(int) |
| 675 | v = deep_mapping(key_validator, value_validator) |
| 676 | a = simple_attr("test") |
| 677 | v(None, a, {"a": 6, "b": 7}) |
| 678 | |
| 679 | @pytest.mark.parametrize( |
| 680 | ("key_validator", "value_validator", "mapping_validator"), |
nothing calls this directly
no test coverage detected