Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/integration/agent/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kind: Agent
metadata:
name: test-agent
spec:
framework: fastapi
framework: openai
description: "Test agent for unit tests"
model: gpt-4
tools:
Expand Down Expand Up @@ -141,7 +141,7 @@ kind: Agent
metadata:
name: test-agent
spec:
framework: fastapi
framework: openai
description: "Test agent for unit tests"
model: gpt-4
tools:
Expand Down Expand Up @@ -181,7 +181,7 @@ kind: Agent
metadata:
name: test-agent
spec:
framework: fastapi
framework: openai
description: "Test agent for unit tests"
model: gpt-4
tools:
Expand Down Expand Up @@ -221,7 +221,7 @@ kind: Agent
metadata:
name: test-agent-1
spec:
framework: fastapi
framework: openai
description: "Test agent 1"
model: gpt-4
---
Expand All @@ -230,7 +230,7 @@ kind: Agent
metadata:
name: test-agent-2
spec:
framework: fastapi
framework: openai
description: "Test agent 2"
model: gpt-4
`
Expand Down Expand Up @@ -284,7 +284,7 @@ kind: Agent
metadata:
name: test-agent
spec:
framework: "fastapi
framework: "openai
description: "Test agent with invalid YAML"
model: gpt-4
`
Expand Down
17 changes: 3 additions & 14 deletions tests/integration/customresource/cr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ spec:
description: "Test agent for unit tests"
model: gpt-4
tools:
- name: test-tool
description: "A test tool"
- test-tool
`

tempFile := createTempFile(t, "valid-cr-*.yaml", validYAML)
Expand Down Expand Up @@ -58,11 +57,6 @@ spec:
}
t.Fatalf("CustomResource create command failed with unexpected error: %v, output: %s", err, outputStr)
}

// If the command succeeded, we should see some output
if outputStr == "" {
t.Errorf("Expected some output from the command")
}
}

// TestCustomResourceCreateWithNonExistentFile tests with non-existent file
Expand Down Expand Up @@ -90,7 +84,7 @@ kind: Agent
metadata:
name: test-agent
spec:
framework: "fastapi
framework: fastapi
description: "Test agent with invalid YAML"
model: gpt-4
`
Expand Down Expand Up @@ -162,7 +156,7 @@ spec:
steps:
- name: test-step
agent: test-agent
input: "{{ .prompt }}"
#input:
- name: parallel-step
parallel:
- test-agent-1
Expand Down Expand Up @@ -196,11 +190,6 @@ spec:
}
t.Fatalf("CustomResource create command failed with unexpected error: %v, output: %s", err, outputStr)
}

// If the command succeeded, we should see some output
if outputStr == "" {
t.Errorf("Expected some output from the command")
}
}

// Helper function to create a temporary file with content
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/workflow/workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kind: Agent
metadata:
name: test-agent
spec:
framework: fastapi
framework: openai
description: "Test agent for unit tests"
model: gpt-4
tools:
Expand Down Expand Up @@ -78,7 +78,7 @@ kind: Agent
metadata:
name: test-agent
spec:
framework: fastapi
framework: openai
description: "Test agent for unit tests"
model: gpt-4
tools:
Expand Down
Loading