test: two stale tests keep main red (lift cleanup's PREPARE, launcher keys of renamed rows) #1836
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!1836
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/test-lift-cleanup-prepare"
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?
Two tests fail on
main. Neither is a bug in the code they check.tests/test_lift_cleanup_error.py:NameError: name 'PREPARE' is not defined(3 errors). Sinceb946c44(--preparefor RecompLauncher),say()reads the module globalPREPARE. The test cutssay/failout ofmake_game.pyand runs them in its own namespace, which didn't have it. The builder itself is fine (PREPARE = Falseat module level). The namespace now hasPREPARE=False.tests/test_recomplauncher_json.py:resolutionandupscalingare "not menu rows". They are the ini keys of the rows now named Render resolution and Upscaler, whichini_key()keeps so an options file from before still loads, andrecomplauncher.jsonis right to set them. The test special-cased onlyoutput_res; it now takes every keyini_key()returns explicitly.run_all.pyon this branch: 260 passed, 0 failed (Linux).🤖 Generated with Claude Code