mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:15:51 +01:00
[PR #1292] tests/test_guest_scene_reference: compare resolved loader path at loader index (OLD-10055) #1323
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#1323
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/1292
Author: @ambroseautomation
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:carry/old-10055-guest-scene-loader-path📝 Commits (1)
46ae994test_guest_scene_reference: compare the resolved loader path📊 Changes
1 file changed (+49 additions, -4 deletions)
View changed files
📝
tests/test_guest_scene_reference.py(+49 -4)📄 Description
Claimed in the coordination issue as: OLD-10055 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7144775375)
What and why
Carries forward
old-pr/10055(draft #320, original commit authorwavehspreserved; indexed in #17), rebased cleanly onto currentmain(6261ca916) while preservingmain'serrors="replace"decode for localized Windows launch errors.Fixes
tests/test_guest_scene_reference.py:--winestub on non-Windows hosts and assertsrecord["cmd"][loader_index]againststr(bad_loader.resolve())at the loader's actual command index rather than comparingcmd[0](which is the wine path when--wineis used).test_launch_failure_records_the_resolved_launcher, pinning resolved launcher path recording through a symlinked root (cleanly skipped on Windows without symlink privileges).Tested
python -I tests/test_guest_scene_reference.py -v: 7 tests, OK (1 skipped: Windows symlink privilege).python -I scripts/check_no_game_data.py tests/test_guest_scene_reference.py: exit 0 (no game data).GPUs tested: n/a (Python stdlib unit tests on Windows 11 Pro 64-bit, Python 3.12.10)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a — unit test fix)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.