test: Add TODO comments for version verification in patch test

This commit is contained in:
Denis Bilenko 2025-03-03 21:12:38 +01:00 committed by Denis Bilenko (aider)
parent fc48cff153
commit 84f4b5cd78
1 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,8 @@ func TestPatchWheel(t *testing.T) {
runCmd(t, tempDir, "uv", "pip", "install", "-q", patchedWheel)
// AI TODO: extract this in a function, verifyVersion() that checks the version.
// AI TODO check both for prefix but also for exact version that you can get using ParseWheelFilename(patchedWheel)
pyExec := filepath.Join(tempDir, ".venv", "bin", "python") // XXX Windows
cmdOut := captureOutput(t, tempDir, pyExec, "-c", "import myproj; myproj.print_version()")
version := strings.TrimSpace(cmdOut)