]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Clean up 'test_list'
authorStephen Finucane <stephen.finucane@intel.com>
Mon, 20 Jun 2016 14:39:14 +0000 (15:39 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 30 Jun 2016 15:04:58 +0000 (16:04 +0100)
commitc4d51a0e2a6aca1457b17b820a4629630865d16f
treec0e73281febfce8e29380e7e144ff832ee6f0a4d
parentcaf0ec621680a48b47bf05fde3f6c05a32438b61
tests: Clean up 'test_list'

* Make use of 'create_' helper functions
* Include every import on its own line
* Use underscore_case, rather than camelCase
* Don't use list comprehension without generating a list: use a for
  loop instead

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