[zope2-tracker] [Bug 1236790] Re: ZCatalog : sortResults does not work anymore [critical]
Thomas Desvenain
1236790 at bugs.launchpad.net
Tue Oct 8 12:57:59 CEST 2013
Failure in test test_queryCatalogAddCriteria (Products.ATContentTypes.tests.test_attopic.TestSiteATTopic)
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 332, in run
testMethod()
File "/home/thomas/buildouts/buildout.coredev/src/Products.ATContentTypes/Products/ATContentTypes/tests/test_attopic.py", line 402, in test_queryCatalogAddCriteria
self.assertEqual(len(topic.queryCatalog(sort_on='Date', sort_limit=5)), 5)
File "/usr/lib/python2.7/unittest/case.py", line 516, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python2.7/unittest/case.py", line 509, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 1 != 5
len(topic.queryCatalog(sort_on='Date', sort_limit=5) -> 1
len([r for r in topic.queryCatalog(sort_on='Date', sort_limit=5)]) -> 23
--
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/1236790
Title:
ZCatalog : sortResults does not work anymore [critical]
To manage notifications about this bug go to:
https://bugs.launchpad.net/zope2/+bug/1236790/+subscriptions
More information about the zope2-tracker
mailing list