annotate makeitso/python_package/tests/doctest.txt @ 81:0d5fac58b1a8

add a template for doctests
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 08 Jan 2011 21:24:17 -0800
parents
children 0fbc2bcdabd7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
81
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 Test ${project}
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 ===============
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 The obligatory imports:
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 >>> import ${package}
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 Run some tests. This test will fail, please fix it:
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
0d5fac58b1a8 add a template for doctests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 >>> assert True == False