﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
10753	Test client fails after 10398	Ville Säävuori	Adrian Holovaty	"After changeset r10398 my tests started failing for an app that uses signals. (post_save signal in this case -- nothing special in there)

Traceback from the test client:

{{{

Traceback (most recent call last):
  File ""/home/syneusfi/new_intra/pylib/heimlich/tests.py"", line 142, in test_ticket_creation
    response = self.client.post('/partiovaruste/bugilista/uusi/', postdata)
  File ""/home/syneusfi/django/django/test/client.py"", line 306, in post
    response = self.request(**r)
  File ""/home/syneusfi/django/django/test/client.py"", line 224, in request
    response = self.handler(environ)
  File ""/home/syneusfi/django/django/test/client.py"", line 75, in __call__
    signals.request_finished.disconnect(close_connection)
  File ""/home/syneusfi/django/django/dispatch/dispatcher.py"", line 124, in disconnect
    (r_key, _) = self.receivers[index]
IndexError: list index out of range

}}}

The tests in question pass for revision r10397. I tested that they also pass when reverting only `django/django/dispatch/dispatcher.py` to the previous revision, so I'm quite confident that r10398 broke something here."		closed	Core (Other)	dev		fixed	testing signals	ratsam@… minmax@… sopelkin@…	Accepted	0	0	0	0	0	0
