mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
fix: update test to use correct package path in monorepo
This commit is contained in:
@@ -20,7 +20,8 @@ def temp_project():
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
(project_dir / "pyproject.toml").write_text(pyproject_content)
|
(project_dir / "pyproject.toml").write_text(pyproject_content)
|
||||||
run_command(["uv", "add", "--editable", f"file://{Path.cwd().absolute()}"], project_dir)
|
tools_package_path = Path(__file__).parent.parent.absolute()
|
||||||
|
run_command(["uv", "add", "--editable", f"file://{tools_package_path}"], project_dir)
|
||||||
run_command(["uv", "sync"], project_dir)
|
run_command(["uv", "sync"], project_dir)
|
||||||
yield project_dir
|
yield project_dir
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user