def test_failure(self, tmp_path, config): # Not having the entry_point fixture makes this fail with pytest.raises(PluginValidationError): ConfigLoader._validate(config, tmp_path)
def test_success(self, tmp_path, config, entry_point): assert ConfigLoader._validate(config, tmp_path) is None