def test_failure(self, config, instances, args): config.INSTANCES = instances config.PLUGIN_ARGS = args with pytest.raises(PluginValidationError): ConfigLoader._args(config)
def test_success(self, config, instances, args): config.INSTANCES = instances config.PLUGIN_ARGS = args assert ConfigLoader._args(config) is None