]> git.ipfire.org Git - thirdparty/patchwork.git/commit
models: Add properties related to checks
authorStephen Finucane <stephen.finucane@intel.com>
Thu, 23 Jul 2015 10:53:13 +0000 (11:53 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 5 Nov 2015 17:08:02 +0000 (17:08 +0000)
commit15f26de93ce13ae46bb0052403bc4c192ae5724b
tree0767105ef67b4e332653883c8123f25570f9573d
parentfc708e1db1274f030004fbe4f395c55c4c29a5bf
models: Add properties related to checks

Add properties for 'Patch' to get the unique checks associated with
a patch, the total number of each type of check and the combined state
of the check. These will be necessary to display this information to
the user.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/models.py
patchwork/tests/test_checks.py [new file with mode: 0644]