MCPcopy
hub / github.com/kubernetes/test-infra / mk

Method mk

gubernator/github/classifier_test.py:226–232  ·  view source on GitHub ↗
(*specs)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected