Expose native configuration inspection scopes
This commit is contained in:
@@ -54,12 +54,8 @@ cache:
|
||||
inputs:
|
||||
audio_dir: ./audio
|
||||
`)
|
||||
cfg, err := Load(pipelinePath, sessionPath)
|
||||
if err != nil {
|
||||
t.Fatalf("Load() error = %v", err)
|
||||
}
|
||||
err = Validate(cfg)
|
||||
_, err := Load(pipelinePath, sessionPath)
|
||||
if err == nil || !strings.Contains(err.Error(), "pipeline.cache.root is required") {
|
||||
t.Fatalf("Validate() error = %v, want cache root error", err)
|
||||
t.Fatalf("Load() error = %v, want cache root error", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user