]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Clean up 'test_mboxviews'
authorStephen Finucane <stephen.finucane@intel.com>
Mon, 20 Jun 2016 16:02:49 +0000 (17:02 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 30 Jun 2016 15:05:03 +0000 (16:05 +0100)
commit4b7145bffaeb5f1f066c1a921e344d76cf9fd64d
tree22139a996215b3a48cc8df284f99fffff236e882
parentf5d125936ce4fbb53d80eb49d3d9772a1d8c20eb
tests: Clean up 'test_mboxviews'

* 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
* Rename and regroup some tests to make more sense

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