Skip to content

Extend tests for SQLCompleter#1777

Merged
rolandwalker merged 1 commit intomainfrom
RW/add-sqlcompleter-test-coverage
Apr 2, 2026
Merged

Extend tests for SQLCompleter#1777
rolandwalker merged 1 commit intomainfrom
RW/add-sqlcompleter-test-coverage

Conversation

@rolandwalker
Copy link
Copy Markdown
Contributor

Description

Extend tests for SQLCompleter, also moving the test file to the more general test_sqlcompleter.py.

Adding the tests uncovered a small bug in sqlcompleter.py: a rapidfuzz candidate could have been appended to the list of candidates even when it was a duplicate.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

@rolandwalker rolandwalker self-assigned this Apr 2, 2026
also moving the test file to the more general test_sqlcompleter.py.

Adding the tests uncovered a small bug in sqlcompleter.py: a rapidfuzz
candidate could have been appended to the list of candidates even when
it was a duplicate.
@rolandwalker rolandwalker force-pushed the RW/add-sqlcompleter-test-coverage branch from d6bee35 to d456691 Compare April 2, 2026 13:17
@rolandwalker rolandwalker merged commit 67fd023 into main Apr 2, 2026
8 checks passed
@rolandwalker rolandwalker deleted the RW/add-sqlcompleter-test-coverage branch April 2, 2026 13:23
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.

1 participant