]> 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:22:12 +0000 (18:22 +0000)
commit87e9f510b2670d199ab2930900c357c3ecda761d
tree42e923ffa604637481417bd75c5e24f7e4e58f03
parente69a2adcf50b57980d5eb0074cc72698d5cac31a
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>
patchwork/tests/api/test_relation.py
patchwork/tests/utils.py