#10381: Test failure caused by r9921
---------------------------+------------------------------------------------
Reporter: mtredinnick | Owner: russellm
Status: new | Milestone:
Component: Uncategorized | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
This looks minor and I don't want to interrupt my flow to dive deep now.
I'm seeing on test failure (both in the full suite and in isolation):
{{{
.-(malc...@lancre 15:10:35) ~/BleedingEdge/Django/django.git/tests
`--> ./runtests.py --settings=settings fixtures
======================================================================
FAIL: Doctest: modeltests.fixtures.models.__test__.API_TESTS
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/test/_doctest.py", line
2180, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for
modeltests.fixtures.models.__test__.API_TESTS
File
"/home/malcolm/BleedingEdge/Django/django.git/tests/modeltests/fixtures/models.py",
line unknown line number, in API_TESTS
----------------------------------------------------------------------
File
"/home/malcolm/BleedingEdge/Django/django.git/tests/modeltests/fixtures/models.py",
line ?, in modeltests.fixtures.models.__test__.API_TESTS
Failed example:
management.call_command('dumpdata', 'fixtures.Category', 'sites',
format='json')
Expected:
[{"pk": 1, "model": "fixtures.category", "fields": {"description":
"Latest news stories", "title": "News Stories"}}, {"pk": 1, "model":
"sites.site", "fields": {"domain": "example.com", "name": "example.com"}}]
Got:
[{"pk": 1, "model": "sites.site", "fields": {"domain": "example.com",
"name": "example.com"}}, {"pk": 1, "model": "fixtures.category", "fields":
{"description": "Latest news stories", "title": "News Stories"}}]
----------------------------------------------------------------------
Ran 2 tests in 2.773s
FAILED (failures=1)
}}}
Git-bisect narrows it down to r9921 (ticket #5610), which seems quite
believable.
--
Ticket URL: <http://code.djangoproject.com/ticket/10381>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---