Opened 15 years ago
Closed 13 years ago
#15656 closed Bug (duplicate)
Hardcoded servername in test_shortcut_view (django.contrib.contenttypes.tests.ContentTypesTests)
| Reported by: | souvikdg | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.contenttypes | Version: | 1.2 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Line 74 in http://code.djangoproject.com/browser/django/trunk/django/contrib/contenttypes/tests.py has example.com hardcoded. If I use a fixture to set a different site as my default site, the test fails.
Change History (7)
comment:1 by , 15 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 15 years ago
| Component: | Contrib apps → contrib.contenttypes |
|---|
comment:3 by , 15 years ago
| Type: | → Bug |
|---|
comment:4 by , 15 years ago
| Severity: | → Normal |
|---|
comment:5 by , 14 years ago
| UI/UX: | unset |
|---|
Note:
See TracTickets
for help on using tickets.
Change UI/UX from NULL to False.