Skip to content

Fix Windows checkout blocked by a test database - #282

Open
ranjithkumar200621-arch wants to merge 1 commit into
dbcli:mainfrom
ranjithkumar200621-arch:fix/windows-checkout-test-artifact
Open

ranjithkumar200621-arch wants to merge 1 commit into
dbcli:mainfrom
ranjithkumar200621-arch:fix/windows-checkout-test-artifact

Conversation

@ranjithkumar200621-arch

Copy link
Copy Markdown

Description

A committed test database has a Windows drive path as its filename. Git for Windows rejects that path during checkout. This removes the database and changes the prompt test so it uses a temporary database for real connections. The test still checks that the prompt displays a Windows path, using the database name directly without opening that path.

Fixes #276.

Verification

  • Linux, Python 3.14: 228 passed, 2 skipped, 1 xfailed, 1 xpassed.
  • Confirmed the test run did not recreate the stray database.
  • A checkout with Git for Windows has not been run.

Checklist

  • I've added this contribution to the CHANGELOG.md file.

Prepared and tested with OpenAI Codex.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clone fails on Windows: invalid path 'C:\Users\litecli\litecli_test.db' was committed by mistake

1 participant