annotate examples/project/zoo/test_doctest_modules.py @ 11:9af906a73061

added a 404.html file and updated the testcases to run against Django svn rev 8693 (post 1.0b1)
author Victor Ng <victor@monkeybean.ca>
date Fri, 29 Aug 2008 00:46:22 -0400
parents 8d0793b2358b
children
rev   line source
5
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
1
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
2 def test_regular_test_method():
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
3 ''' This is just a stub for a regular test method'''
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
4 pass
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
5
6
8d0793b2358b update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents: 5
diff changeset
6 def test_docstring():
5
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
7 '''
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
8 This is a doctest that might get skipped
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
9
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
10 >>> 5 + 5
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
11 10
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
12 '''
22ae9aa457af excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
13