-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test and fix incorrect assumption that project has a single worki…
…ng dir. (#303) * Add failing test and fix incorrect assumption that project has a single working dir. * ruff and mypy fixes * correct logic in mockllm * more mypy * Moved tool_call_utils into test_helpers package; asserted on tool call read results * remove working_dir from ComposeProject
- Loading branch information
Showing
10 changed files
with
231 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
tests/util/sandbox/docker_compose_multiple_services/docker-compose.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
services: | ||
default: | ||
image: "python:3.12-bookworm" | ||
command: "tail -f /dev/null" | ||
init: true | ||
network_mode: none | ||
stop_grace_period: 1s | ||
service_1: | ||
image: "python:3.12-bookworm" | ||
command: "tail -f /dev/null" | ||
working_dir: /usr/local/dir1 | ||
init: true | ||
network_mode: none | ||
stop_grace_period: 1s | ||
service_2: | ||
image: "python:3.12-bookworm" | ||
command: "tail -f /dev/null" | ||
working_dir: /usr/local/dir2 | ||
init: true | ||
network_mode: none | ||
stop_grace_period: 1s |
Oops, something went wrong.