]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Clean up 'test_confirm'
authorStephen Finucane <stephen.finucane@intel.com>
Mon, 20 Jun 2016 13:47:24 +0000 (14:47 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 30 Jun 2016 15:04:42 +0000 (16:04 +0100)
commitc7d3c59990fbaac990785d48fe1abf9f87565d60
tree04db297073a3a20dc856f7aff8e72e2798204a4b
parent51639f0f405ea18abfdfd341e970eb96b6fc0f7a
tests: Clean up 'test_confirm'

* Make use of 'create_' helper functions
* Remove unneeded 'XXX.objects.delete()' calls (all objects are deleted
  on teardown of each test)
* 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_confirm.py