]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Rework 'create_relation' helper
authorStephen Finucane <stephen@that.guru>
Sun, 4 Oct 2020 10:42:42 +0000 (11:42 +0100)
committerStephen Finucane <stephen@that.guru>
Sun, 13 Dec 2020 18:30:07 +0000 (18:30 +0000)
commitdd19914b99171b73cd2b852cb157274613afe23b
tree2e903568e2b37434d3f222bc87a27f288e2983b0
parent289f93784e320576a46006ff2641bfcc262b04f8
tests: Rework 'create_relation' helper

This wasn't actually creating just a patch relation object - it was also
creating patches, which is something we already have an explicit helper
for. Clean this thing up.

Signed-off-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit 87e9f510b2670d199ab2930900c357c3ecda761d)
patchwork/tests/api/test_relation.py
patchwork/tests/utils.py