def METHOD_NAME():
    config = AnalysisConfig()
    # Check empty list is accepted
    config.datasets.safe_mask.methods = []
    with pytest.raises(ValidationError):
        config.datasets.safe_mask.methods = ["bad"]