Commit 36f8089
fix: Resolve test isolation bug in pairing integration tests
- Drop persistence assertion in test_policy_allow_auto_approves to match production contract
- Add pytest.skipif decorator for test_real_agentic_flow_with_stub_adapter when OPENAI_API_KEY not available
- Fix contract mismatch where 'allow' policy returns True without persistent pairing
- Ensure tests either pass or skip gracefully without API key dependency
Co-authored-by: Mervin Praison <MervinPraison@users.noreply.github.com>1 parent 64c8af3 commit 36f8089
1 file changed
Lines changed: 7 additions & 2 deletions
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
221 | | - | |
222 | | - | |
| 222 | + | |
| 223 | + | |
223 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
224 | 229 | | |
225 | 230 | | |
226 | 231 | | |
| |||
0 commit comments