Files
Michael BiancoandGitHub b0fce84f9d test: use poetry cli to run python (#257)
* test: run python via poetry to ensure the poetry install is working

* test: assert proper python bin in PATH across all .venv python examples

* doc: helpful mise backend inspection tip

* test: snapshot update
2025-09-11 09:19:44 -06:00

16 lines
339 B
Python

import os
path = os.environ['PATH']
assert path.startswith("/app/.venv/bin"), f"Expected PATH to start with /app/.venv/bin but got {path}"
import workspace_package
def main():
# test.json doesn't like newlines
print("Hello from python-uv-workspace!", end="")
workspace_package.main()
if __name__ == "__main__":
main()