"xmlrpc: Don't load all Patches into memory" breaking Django 1.6 and 1.7

Daniel Axtens dja at axtens.net
Thu Aug 25 11:19:13 AEST 2016


I've pulled the latest master, and I'm now getting the following failure
on Django 1.6 and 1.7.

FAIL: test_list_negative_max_count (patchwork.tests.test_xmlrpc.XMLRPCTest)
Traceback (most recent call last):
  File "/home/patchwork/patchwork/patchwork/tests/test_xmlrpc.py", line 65, in test_list_negative_max_count
    self.assertEqual(patches[0]['id'], patch_objs[-1].id)
AssertionError: 1 != 5L

It was introduced by 5b70ecf7d318 - reverting it makes the failure go
away. I haven't investigated in any more detail yet.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20160825/f0962b51/attachment.sig>

More information about the Patchwork mailing list