Django

Code

Changeset 466

Show
Ignore:
Timestamp:
08/10/05 13:10:38 (3 years ago)
Author:
jacob
Message:

Doctest now uses the ELLIPSIS option, which allows the one_to_one test to pass under sqlite. This fixes #238.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/tests/runtests.py

    r465 r466  
    2929        doctest.DocTestRunner.__init__(self, *args, **kwargs) 
    3030        self._checker = DjangoDoctestOutputChecker() 
     31        self.optionflags = doctest.ELLIPSIS 
    3132 
    3233    def report_start(self, out, test, example): 
  • django/trunk/tests/testapp/models/one_to_one.py

    r396 r466  
    5151Traceback (most recent call last): 
    5252    ... 
    53 RestaurantDoesNotExist: Restaurant does not exist for {'id__exact': 2L
     53RestaurantDoesNotExist: Restaurant does not exist for {'id__exact': ...
    5454 
    5555# restaurants.get_list() just returns the Restaurants, not the Places.