annotate makeitso/python_package/tests/doctest.txt @ 147:bdf4049e83ea

add a unit test skeleton
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 05 Mar 2012 15:08:24 -0800
parents 0fbc2bcdabd7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
0fbc2bcdabd7 use correct delimeters
Jeff Hammel <jhammel@mozilla.com>
parents: 81
diff changeset
1 Test {{project}}
0fbc2bcdabd7 use correct delimeters
Jeff Hammel <jhammel@mozilla.com>
parents: 81
diff changeset
2 ================
81
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
84
0fbc2bcdabd7 use correct delimeters
Jeff Hammel <jhammel@mozilla.com>
parents: 81
diff changeset
6 >>> import {{package}}
81
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