]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Clean up 'test_person'
authorStephen Finucane <stephen.finucane@intel.com>
Tue, 21 Jun 2016 10:13:41 +0000 (11:13 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 30 Jun 2016 15:05:08 +0000 (16:05 +0100)
commitbd241a3149cf6f35ebe3c7f9bf6fe3b07443d977
tree4eb74d2d74d2ff23e795acc3cc9c028bce2f24ce
parentb1559f77b869758ffb9c8c1f88d47c8b63f127f8
tests: Clean up 'test_person'

* Don't use hardcode routes: use the reverse function instead
* Make use of 'create_' helper functions
* Include every import on its own line
* Use underscore_case, rather than camelCase

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