(*specs)
| 224 | self.assertEqual(result, classifier.get_reviewers(events)) |
| 225 | |
| 226 | def mk(*specs): |
| 227 | out = [] |
| 228 | for event, action, body in specs: |
| 229 | body = dict(body) # copy |
| 230 | body['action'] = action |
| 231 | out.append((event, body, 0)) |
| 232 | return out |
| 233 | |
| 234 | expect([], set()) |
| 235 |