Skip to content

test(downloader): address CodeQL nits in side-table tests#386

Merged
bartzbeielstein merged 1 commit into
developfrom
test/codeql-nits
Jun 14, 2026
Merged

test(downloader): address CodeQL nits in side-table tests#386
bartzbeielstein merged 1 commit into
developfrom
test/codeql-nits

Conversation

@bartzbeielstein

Copy link
Copy Markdown
Collaborator

Follow-up to #384 addressing the two CodeQL advisory comments on the new tests:

  • Call download_side_tables() as a statement instead of binding/asserting its always-None return value.
  • Patch _RETRY_BACKOFF_SECONDS via the string-target form of monkeypatch.setattr, dropping the import ... as _entsoe_mod so the module is no longer imported both with import and from ... import.

Test-only (test: → no version bump). Fast suite unaffected.

🤖 Generated with Claude Code

- Call download_side_tables() as a statement instead of binding/asserting
  its always-None return value (CodeQL: use of a procedure's return value).
- Patch _RETRY_BACKOFF_SECONDS via the string target form of
  monkeypatch.setattr, dropping the `import ... as _entsoe_mod` so the module
  is no longer imported both with `import` and `from ... import` (CodeQL).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bartzbeielstein bartzbeielstein merged commit 3d0cd2c into develop Jun 14, 2026
10 checks passed
@bartzbeielstein bartzbeielstein deleted the test/codeql-nits branch June 14, 2026 04:11
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