mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:10:52 +01:00
[PR #669] tests/test_first_look_rebuild.py: stub the three report tools first_look.ps1 runs, and check they are called (TEST-1421) (OLD-9942) #709
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#709
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/669
Author: @LouisRiverstone
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:carry-old-9942📝 Commits (2)
fbde472tests/test_first_look_rebuild.py: stub the three report tools first_look.ps1 now runs (TEST-1421)e68fd7fMerge remote-tracking branch 'ubq/main' into HEAD📊 Changes
1 file changed (+17 additions, -15 deletions)
View changed files
📝
tests/test_first_look_rebuild.py(+17 -15)📄 Description
Claimed in the coordination issue as: OLD-9942 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7129925439)
Replaces the carried-over draft #209. I'm the original author of old upstream PR 9942.
What and why
TEST-1421. The rebuild test stubs
gdk_runtime_calls.py,find_hash_lookup.pyandexe_checklist.py, the three report toolsscripts/first_look.ps1runs afterpe_inspect. Onmain, two of those stubs do nothing at all, so the test can't tell whether the script ran them. Now all three use one stub. It records its name intools_called.txtand writes the file its--json/--outnames, usingnewline="\n"(pointed out by tikD1337 on the old PR). The test then asserts that the script called the three tools, in order. This tightens an existing test; it doesn't fix a failure.The old branch's final diff, applied on current
main(21625bca8) as one commit. It applied cleanly.Tested
The test is Windows-only (
skipUnless(os.name == "nt")). On Linux it reports 5 skipped. I ran it with Windows Python 3.11 and Windows PowerShell 5.1 (Windows 11, from WSL) on an export oftests/,scripts/andtools/:main: 5 tests OKGPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: test only)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.