def test_validate_strict_with_trusted_data():
    class Player(Model):
        id = IntType()

    try:
        validate(Player, {'id': 4}, strict=True, trusted_data={'name': 'Arthur'})
    except ValidationError as e:
        assert e.messages in 'name'
dataset/ETHPy150Open schematics/schematics/tests/test_functional.py/test_validate_strict_with_trusted_data/swapped operands of `in`