mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-13 16:34:45 +08:00
Capture pythonx init output in tests
This commit is contained in:
parent
fd141f9306
commit
ac9db0e879
1 changed files with 12 additions and 7 deletions
|
@ -11,13 +11,18 @@ defmodule Livebook.Runtime.EvaluatorTest do
|
||||||
# code evaluation. Testing pyproject.toml evaluation is tricky
|
# code evaluation. Testing pyproject.toml evaluation is tricky
|
||||||
# because it requires a separate VM, so we only rely on the LV
|
# because it requires a separate VM, so we only rely on the LV
|
||||||
# integration tests.
|
# integration tests.
|
||||||
Pythonx.uv_init("""
|
|
||||||
[project]
|
ExUnit.CaptureIO.capture_io(fn ->
|
||||||
name = "project"
|
Pythonx.uv_init("""
|
||||||
version = "0.0.0"
|
[project]
|
||||||
requires-python = "==3.13.*"
|
name = "project"
|
||||||
dependencies = []
|
version = "0.0.0"
|
||||||
""")
|
requires-python = "==3.13.*"
|
||||||
|
dependencies = []
|
||||||
|
""")
|
||||||
|
end)
|
||||||
|
|
||||||
|
:ok
|
||||||
end
|
end
|
||||||
|
|
||||||
setup ctx do
|
setup ctx do
|
||||||
|
|
Loading…
Add table
Reference in a new issue