]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Tweak comment API tests
authorStephen Finucane <stephen@that.guru>
Thu, 26 Aug 2021 17:18:31 +0000 (18:18 +0100)
committerStephen Finucane <stephen@that.guru>
Thu, 28 Oct 2021 10:43:35 +0000 (11:43 +0100)
commit7e67aeb0b2ca686524b584d796e6ff3cfeabcddf
treec73598114fee0bbcae775404113aa7a7dbae17b1
parentf5cd52144cd4cbd0dd2c9cbcecdb90e6d25cbc17
tests: Tweak comment API tests

We were missing tests for 'GET /patch/{patch_id}/comment' (list patch
comments) and 'GET /cover/{cover_id}/comment' (list cover comments) when
using API version 1.2. In addition, we had effectively duplicated tests
by including explicit tests for API 1.3. These are unnecessary since we
default to testing against the latest version. Address both issues.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/tests/api/test_comment.py