diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2009-08-13 17:21:23 -0300 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-08-15 13:17:10 +1000 |
commit | fc58a911d4a43d6e0b06a1bd2e397e5448a591a7 (patch) | |
tree | ddc438e375ae0f3f11928468bf21ce42d639d777 /apps/__init__.py | |
parent | 7d9334e879857f8a380bc9509b6cbf9972cecc25 (diff) | |
download | patchwork-fc58a911d4a43d6e0b06a1bd2e397e5448a591a7.tar.bz2 patchwork-fc58a911d4a43d6e0b06a1bd2e397e5448a591a7.tar.xz |
tests: Fix 'order_start' on BundleReorderTest unit test
The 'order_start' parameter on the reorder form should be a patch ID,
not the 'order' field of BundlePatch.
This fixes the following test failure:
> ======================================================================
> FAIL: testBundleReorder (patchwork.tests.bundles.BundleReorderTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/mnt/common/code/admin/rh-patchwork/apps/patchwork/tests/bundles.py", line 358, in testBundleReorder
> self.failUnlessEqual(response.status_code, 200)
> AssertionError: 404 != 200
>
> ----------------------------------------------------------------------
> Ran 123 tests in 4.527s
>
> FAILED (failures=1)
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/__init__.py')
0 files changed, 0 insertions, 0 deletions