Repository navigation
Keep the clean pandapower fixture clean under powerio 0.11.8+ - #151
Merged
Merged
Conversation
The "no diagnostics" fixture set rate_a, rate_b and rate_c on its one branch. pandapower keeps a single loading limit, and powerio 0.11.8 started warning when rate_b/rate_c are dropped on emission, so test_pandapower_response_states_an_empty_warnings_list fails on any fresh install. Set only rate_a so the case is genuinely clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
tests/test_powerio_server.py::test_pandapower_response_states_an_empty_warnings_listfails on any fresh install, so main's CI goes red on its next run:The test's
CLEAN_CASEfixture is meant to raise no diagnostics, but its one branch setsrate_a,rate_bandrate_cto 250. pandapower keeps a single loading limit. Since powerio 0.11.8 (released 2026-11-05), dropping the other two values on the way into pandapower produces a warning. CI has passed so far only because the last runs installed an older powerio.Fix
Set only
rate_aon the fixture branch, so the case really is clean, and say why in the fixture comment. The warning itself is correct, so nothing in the adapter changes.Tests
tests/test_powerio_server.pypasses on powerio 0.11.11 (65 passed, 5 skipped).This blocks the 0.5.0 release PR, and #149 and #150 will hit it too.
🤖 Generated with Claude Code