Skip to content

Add tests for configuration reading#1776

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

Add tests for configuration reading#1776
rolandwalker merged 1 commit intomainfrom
RW/add-config-reader-test-coverage

Conversation

@rolandwalker
Copy link
Copy Markdown
Contributor

Description

This required also rewriting the tests for the toolbar, since fully instantiating the PromptSession was apparently breaking the capsys and caplog fixtures in later tests. Related: it can be good to run tests in random order.

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
This required also rewriting the tests for the toolbar, since fully
instantiating the PromptSession was apparently breaking the capsys and
caplog fixtures in later tests.  Related: it can be good to run tests
in random order.
@rolandwalker rolandwalker force-pushed the RW/add-config-reader-test-coverage branch from 29c1161 to 0e6d3e9 Compare April 2, 2026 12:34
@rolandwalker rolandwalker merged commit 04f01b3 into main Apr 2, 2026
8 checks passed
@rolandwalker rolandwalker deleted the RW/add-config-reader-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