Commit bb5b82b
fix: remove unused imports and update test schemas to use repeat_count
Fixes ruff lint failures: removed unused AsyncMock, MagicMock, patch,
pytest, and backend.core.oncall imports from test_oncall.py. Updated
schema tests to use repeat_count (int) instead of repeat (bool) to
match the improved escalation policy model.1 parent 8a3c2d8 commit bb5b82b
1 file changed
Lines changed: 6 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 6 | | |
15 | 7 | | |
16 | 8 | | |
| |||
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
37 | | - | |
38 | 29 | | |
39 | 30 | | |
40 | 31 | | |
| |||
131 | 122 | | |
132 | 123 | | |
133 | 124 | | |
134 | | - | |
| 125 | + | |
135 | 126 | | |
136 | 127 | | |
137 | 128 | | |
138 | 129 | | |
139 | 130 | | |
140 | | - | |
| 131 | + | |
141 | 132 | | |
142 | 133 | | |
143 | 134 | | |
| |||
152 | 143 | | |
153 | 144 | | |
154 | 145 | | |
155 | | - | |
| 146 | + | |
156 | 147 | | |
157 | 148 | | |
158 | | - | |
| 149 | + | |
159 | 150 | | |
160 | | - | |
| 151 | + | |
161 | 152 | | |
162 | 153 | | |
163 | 154 | | |
164 | 155 | | |
165 | 156 | | |
166 | 157 | | |
167 | 158 | | |
168 | | - | |
| 159 | + | |
169 | 160 | | |
170 | 161 | | |
171 | 162 | | |
| |||
0 commit comments