chore(test): Centralize app_instance and mock_app fixtures in conftest.py

This commit is contained in:
2026-03-02 20:54:25 -05:00
parent c22f024d1f
commit 35822aab08
5 changed files with 50 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ Architecture reference: [docs/guide_architecture.md](../../../docs/guide_archite
## Phase 1: Test Suite Deduplication and Centralization
Focus: Move `app_instance` and `mock_app` to `tests/conftest.py` and remove them from individual test files.
- [ ] Task 1.1: Add `app_instance` and `mock_app` fixtures to `tests/conftest.py`. Ensure they properly yield the App instance and tear down.
- [~] Task 1.1: Add `app_instance` and `mock_app` fixtures to `tests/conftest.py`. Ensure they properly yield the App instance and tear down.
- [ ] Task 1.2: Remove local `app_instance` and `mock_app` fixtures from all 13 identified test files. (Tier 3 Worker string replacement / rewrite).
- [ ] Task 1.3: Delete `tests/test_ast_parser_curated.py` if its contents are fully duplicated in `test_ast_parser.py`, or merge any missing tests.
- [ ] Task 1.4: Run the test suite (`pytest`) to ensure no fixture resolution errors.