diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index a60c2dc18..9f2cc75cb 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -233,6 +233,8 @@ async def backup_full(self, request: web.Request) -> dict[str, Any]: - **Fixtures**: Extensive use of pytest fixtures for CoreSys setup - **Mocking**: Mock external dependencies (Docker, D-Bus, network calls) - **Coverage**: Minimum 90% test coverage, 100% for security-sensitive code +- **Style**: Use plain `test_` functions, not `Test*` classes — test classes are + considered legacy style in this project ### Error Handling