]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Clean up 'test_updates'
authorStephen Finucane <stephen.finucane@intel.com>
Tue, 21 Jun 2016 17:04:56 +0000 (18:04 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 30 Jun 2016 15:05:16 +0000 (16:05 +0100)
commitadf100f4d7a23b7b5ebd00ccaf87da097c1b52f0
tree41cd9a8fd6405912a94c7268d843100f755491d1
parent6f4df049e7ec56c28430b05c263d0c2d2e680754
tests: Clean up 'test_updates'

* Make use of 'create_' helper functions
* Include every import on its own line
* Use underscore_case, rather than camelCase
* Be consistent in how 'Patch.objects.get()' is called

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Reviewed-by: Andy Doan <andy.doan@linaro.org>
patchwork/tests/test_updates.py