willkg/kitsune — comment on commit f6c96c7134cac1162c207e47e0318954ceac113b
File:  line 0
By erikrose:

I get some test failures. Seems like questions_s is getting turned into a result prematurely?

ERROR: kitsune.apps.search.tests.test_search:SearchTest.test_updated_nonexistent
bbedit +258 apps/search/tests/test_search.py # test_updated_nonexistent
response = self.client.get(reverse('search'), qs)
bbedit +445 vendor/src/django/django/test/client.py # get
response = super(Client, self).get(path, data=data, **extra)
bbedit +229 vendor/src/django/django/test/client.py # get
return self.request(**r)
bbedit +62 apps/sumo/tests/__init__.py # request
return super(LocalizingClient, self).request(**request)
bbedit +387 vendor/src/django/django/test/client.py # request
response = self.handler(environ)
bbedit +84 vendor/src/django/django/test/client.py # __call__
response = self.get_response(request)
bbedit +169 vendor/src/django/django/core/handlers/base.py # get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
bbedit +111 vendor/src/django/django/core/handlers/base.py # get_response
response = callback(request, *callback_args, **callback_kwargs)
bbedit +23 vendor/src/django-mobility/mobility/decorators.py # wrapper
return f(request, *args, **kw)
bbedit +328 apps/search/views.py # search
[m for m in chain(*question_s.excerpt(doc)) if m])
AttributeError: 'ObjectResults' object has no attribute 'excerpt'