]> git.ipfire.org Git - thirdparty/patchwork.git/commit
signals: Fix 'series-completed' event
authorStephen Finucane <stephen@that.guru>
Mon, 29 Oct 2018 15:15:18 +0000 (15:15 +0000)
committerStephen Finucane <stephen@that.guru>
Sat, 22 Dec 2018 17:00:34 +0000 (17:00 +0000)
commit087fe500f8d2e7bdad15f2257d7f78a2337cf702
tree398a2ee2ad224cff1cb16b240013bf0ef70eaed0
parent1b9869d814e35c89fdbe904a55d9d0dd512ac333
signals: Fix 'series-completed' event

I'm not sure how I ever intended this to work and there were no tests
verifying things. Fix it now and add tests to prevent it regressing.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 76505e91 ("models: Convert Series-Patch relationship to 1:N")
patchwork/signals.py
patchwork/tests/api/test_event.py
patchwork/tests/test_events.py