Skip to content

Stop test_cli_save_html from writing into the repo root - #583

Open
vishal-tambi wants to merge 1 commit into
Breakthrough:mainfrom
vishal-tambi:fix/save-html-test-output
Open

vishal-tambi wants to merge 1 commit into
Breakthrough:mainfrom
vishal-tambi:fix/save-html-test-output

Conversation

@vishal-tambi

Copy link
Copy Markdown

test_cli_save_html leaves goldeneye-Scenes.html in the working directory after every run. This PR changes only the test, passing an absolute --filename under tmp_path.

The cause looks like a real bug: with --no-images, save-html ignores -o. CliContext.save_images_result starts as (None, None) instead of None, so save_html takes its output folder from a save-images run that never happened. I can fix that in a separate PR if you'd like.

This branch has not been deployed

No deployments
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