Commit 1b42840
fix: use MockStatus object instead of dict in test_webhook_pr_closed
The code in mod_ci/controllers.py:1785 expects status objects with a .context
attribute, but the test was returning dictionaries. This worked in earlier
Python versions but fails in Python 3.14.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 4fca3d7 commit 1b42840
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| |||
781 | 788 | | |
782 | 789 | | |
783 | 790 | | |
| 791 | + | |
| 792 | + | |
784 | 793 | | |
785 | | - | |
| 794 | + | |
786 | 795 | | |
787 | 796 | | |
788 | 797 | | |
| |||
0 commit comments