def METHOD_NAME(chdir):
    """Check that when a method uses a base attribute, that validation still happens."""
    chdir('method-fixtures')
    with pytest.raises(Exception) as e:
        tackle('method-base-validate.yaml')
    assert 'string does not match regex' in e.value.message