Skip to content

Fix copilot review feedback on security tests#57

Merged
deacon-mp merged 1 commit intomasterfrom
fix/copilot-review-feedback
Mar 18, 2026
Merged

Fix copilot review feedback on security tests#57
deacon-mp merged 1 commit intomasterfrom
fix/copilot-review-feedback

Conversation

@deacon-mp
Copy link
Copy Markdown
Contributor

Summary

  • Normalize PLUGIN_DIR with os.path.abspath() for reliable path resolution
  • Use pytest.importorskip("yaml") instead of bare import yaml
  • Add encoding='utf-8' to all open() calls

Test plan

  • Run pytest tests/test_emu_security.py to verify tests still pass

- Normalize PLUGIN_DIR with os.path.abspath
- Use pytest.importorskip('yaml') instead of bare import
- Add encoding='utf-8' to all file open() calls
@sonarqubecloud
Copy link
Copy Markdown

@deacon-mp deacon-mp merged commit f018f72 into master Mar 18, 2026
3 of 6 checks passed
@deacon-mp deacon-mp deleted the fix/copilot-review-feedback branch March 18, 2026 03:52
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