Repository navigation
Make every test earn its place, and split test_server.py - #27
Merged
Merged
Conversation
…po always provides, assert what diff context and ignore_whitespace do
…ases into parametrized tables
…po, drop mock-count watcher tests
…iff and highlight tests
…pp and post_comment through conftest
…e TUI wait times out
…around, remove blank lines left by import hoisting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test half of the slop audit. Every kept or rewritten test was spot-mutated: delete the line it guards and confirm the test fails.
_spawn_agentfor real.if data:andpytest.skipguards, and status-200-only checks forcontextandignore_whitespace.temp_repo. One autouse fixture resets comments, reviewed state and the active repo, which replaces about 25 inline cleanup loops.test_server.pygoes from 1579 to 689 lines, as a pure move intotest_comments.py,test_search.pyandtest_risk.py.372 tests become 308, with no change in wall time, since the TUI tests take most of it. No test needs
origin/mainnow, so CI dropsfetch-depth: 0.The TUI search tests now wait for the row Enter would open, not for any two rows. A timeout prints the rows it saw. This targets the macOS flake on #26, which didn't reproduce locally.