MCPcopy Create free account
hub / github.com/debpalash/VoiceStudio / test_dockerfile_has_pythonpath

Function test_dockerfile_has_pythonpath

tests/test_issue_fixes.py:76–83  ·  view source on GitHub ↗

deploy/Dockerfile must set PYTHONPATH=/app/backend.

()

Source from the content-addressed store, hash-verified

74
75
76def test_dockerfile_has_pythonpath():
77 """deploy/Dockerfile must set PYTHONPATH=/app/backend."""
78 dockerfile = _REPO / "deploy" / "Dockerfile"
79 if not dockerfile.exists():
80 pytest.skip("deploy/Dockerfile not found")
81 content = dockerfile.read_text()
82 assert "PYTHONPATH" in content, "Dockerfile missing PYTHONPATH env"
83 assert "/app/backend" in content, "Dockerfile PYTHONPATH should include /app/backend"
84
85
86def test_main_py_bootstrap_adds_backend_dir():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected