]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Clean up 'test_bundles'
authorStephen Finucane <stephen.finucane@intel.com>
Sun, 19 Jun 2016 19:42:57 +0000 (20:42 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 30 Jun 2016 15:04:36 +0000 (16:04 +0100)
commitda76e5dea4926874bf46c8e2053ca7559d391f1e
tree5ac7ab388ccb445a8f5038f7498ced5308ff4896
parentfbca4b28f5eb49e5a7967b329227b13955aa4b77
tests: Clean up 'test_bundles'

* Don't use hardcode routes: use the reverse function instead
* Make use of 'create_' helper functions
* Minimize duplication of code
* 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_bundles.py