Django

Code

Changeset 8189

Show
Ignore:
Timestamp:
08/01/08 19:40:05 (5 months ago)
Author:
gwilson
Message:

Removed two-year-old note about testing framework being under development.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/testing.txt

    r8078 r8189  
    2525This document is split into two primary sections. First, we explain how to 
    2626write tests with Django. Then, we explain how to run them. 
    27  
    28 .. admonition:: Note 
    29  
    30     This testing framework is currently under development. It may change 
    31     slightly before the next official Django release. 
    32  
    33     (That's *no* excuse not to write tests, though!) 
    3427 
    3528Writing tests 
     
    816809If your ``TestCase`` instance defines an ``urls`` attribute, the 
    817810``TestCase`` will use the value of that attribute as the ``ROOT_URLCONF`` 
    818 for the duration of that test.  
     811for the duration of that test. 
    819812 
    820813For example:: 
    821814 
    822815    from django.test import TestCase 
    823      
     816 
    824817    class TestMyViews(TestCase): 
    825818        urls = 'myapp.test_urls'