#7825: modeltests/delete test fails after NFA merge
------------------------+---------------------------------------------------
 Reporter:  jacob       |       Owner:  lukeplant 
   Status:  new         |   Milestone:  1.0 alpha 
Component:  Metasystem  |     Version:  SVN       
 Keywords:              |       Stage:  Unreviewed
Has_patch:  0           |  
------------------------+---------------------------------------------------
 After the NFA merge, this happens:

 {{{
 ======================================================================
 FAIL: Doctest: modeltests.delete.models.__test__.API_TESTS
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/Users/jacob/Projects/Django/upstream/django/test/_doctest.py",
 line 2180, in runTest
     raise self.failureException(self.format_failure(new.getvalue()))
 AssertionError: Failed doctest test for
 modeltests.delete.models.__test__.API_TESTS
   File
 "/Users/jacob/Projects/Django/upstream/tests/modeltests/delete/models.py",
 line unknown line number, in API_TESTS

 ----------------------------------------------------------------------
 File
 "/Users/jacob/Projects/Django/upstream/tests/modeltests/delete/models.py",
 line ?, in modeltests.delete.models.__test__.API_TESTS
 Failed example:
     del D._meta._related_objects_cache
 Exception raised:
     Traceback (most recent call last):
       File
 "/Users/jacob/Projects/Django/upstream/django/test/_doctest.py", line
 1267, in __run
         compileflags, 1) in test.globs
       File "<doctest modeltests.delete.models.__test__.API_TESTS[17]>",
 line 1, in <module>
         del D._meta._related_objects_cache
     AttributeError: _related_objects_cache


 ----------------------------------------------------------------------
 Ran 1 test in 0.046s

 FAILED (failures=1)
 }}}

 It appears to be related to the somewhat fishy internals hacking in the
 test case. The failure may be related to the change in import behavior
 because of admin registry class.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7825>
Django Code <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to