﻿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
15554	Bad test in django.contrib.contenttypes.tests.ContentTypesTests	Alexander Kaidalov	nobody	"example.com is hardcoded in `test_shortcut_view`. We have fixture which changes site name, so this test failes:

{{{
Installing json fixture 'initial_data' from absolute path.
Installed 6 object(s) from 1 fixture(s)
.............................................................................F.............................................................................................................................
======================================================================
FAIL: test_shortcut_view (django.contrib.contenttypes.tests.ContentTypesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/usr/local/lib/python2.6/dist-packages/django/contrib/contenttypes/tests.py"", line 67, in test_shortcut_view
    self.assertEqual(""http://example.com/users/john/"", response._headers.get(""location"")[1])
AssertionError: 'http://example.com/users/john/' != 'http://test.ru/users/john/'

----------------------------------------------------------------------
Ran 203 tests in 2.574s

FAILED (failures=1)
Destroying test database 'default'...
}}}"		closed	Contrib apps	dev		fixed	test		Accepted	1	0	0	0	0	0
