Updated transcript artifact names and canonical paths to use a consistent, role-based nomenclature
This commit is contained in:
@@ -23,7 +23,7 @@ func TestStageMarkHelpers(t *testing.T) {
|
||||
}
|
||||
|
||||
succeededAt := runningAt.Add(2 * time.Minute)
|
||||
outputs := []ArtifactRecord{{Kind: "transcript_processed", LocalPath: "transcripts/processed.json"}}
|
||||
outputs := []ArtifactRecord{{Kind: "transcript_polished", LocalPath: "transcripts/polished.json"}}
|
||||
m.MarkStageSucceeded("transcribe", succeededAt, outputs)
|
||||
if stage.Status != StatusSucceeded {
|
||||
t.Fatalf("status = %q, want %q", stage.Status, StatusSucceeded)
|
||||
@@ -35,7 +35,7 @@ func TestStageMarkHelpers(t *testing.T) {
|
||||
t.Fatalf("outputs len = %d, want 1", len(stage.Outputs))
|
||||
}
|
||||
outputs[0].LocalPath = "mutated.json"
|
||||
if stage.Outputs[0].LocalPath != "transcripts/processed.json" {
|
||||
if stage.Outputs[0].LocalPath != "transcripts/polished.json" {
|
||||
t.Fatalf("stage outputs should be copied, got %#v", stage.Outputs)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user