]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: Update reference to PatchComment
authorStephen Finucane <stephen@that.guru>
Sat, 28 Nov 2020 16:34:01 +0000 (16:34 +0000)
committerStephen Finucane <stephen@that.guru>
Sat, 28 Nov 2020 16:59:48 +0000 (16:59 +0000)
commit70c9db8b9c1bee8ddc32eb1d6fceff6ef616ba3e
tree7dc3088d46ee3968c898fcfd15f687d205c83117
parentbdb049c7939b7cdea1eddf029a0bc47cb338da67
parser: Update reference to PatchComment

Commit 0686a736fbf6d869bd31bd135ba38080ac96de22 split out 'CoverLetter'
from the old 'Submission' model, removing the common 'Comment' model in
favour of distinct 'CoverComment' and 'PatchComment' models in the
process. Unfortunately we misssed some references to the old model in
the 'patchwork.parser' module. Correct these now, adding unit tests to
prevent regressions.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 0686a736 ("models: Split 'CoverLetter' from 'Submission'")
Closes: #384
patchwork/parser.py
patchwork/tests/test_parser.py