Skip to content

Integrate pytest-remaster into functional test suite#10961

Open
mchris86 wants to merge 3 commits intopylint-dev:pytest-remasterfrom
mchris86:integrate-pytest-remaster
Open

Integrate pytest-remaster into functional test suite#10961
mchris86 wants to merge 3 commits intopylint-dev:pytest-remasterfrom
mchris86:integrate-pytest-remaster

Conversation

@mchris86
Copy link
Copy Markdown

@mchris86 mchris86 commented Apr 9, 2026

Type of Changes

Type
🔨 Refactoring

Description

This PR moves functional tests to pytest-remaster, making expected output handling simpler and easier to update.

Builds on #10953

Changes made

  • stop asserting expected message counts in check_messages() in LintModuleTest
  • add expected_output_base property to FunctionalTestFile
  • use golden_master.check() in test_functional.py with version/platform dimensions
  • add pytest-remaster to test requirements
  • remove test_lint_module_output_update.py as it is no longer needed

Note: I have kept this PR focused on integrating pytest-remaster. Happy to include cleanup of unused code and new expected output files here, or in a follow-up PR if preferred.

mchris86 added 3 commits April 9, 2026 19:21
- stop asserting expected message counts in check_messages()
- add expected_output_base property to test_file
- use golden_master.check() in test_functional.py with version/platform dimensions
- add pytest-remaster to test requirements
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