annotate tests/doctest.txt @ 7:0abe38b2ea7b

example with mandatory arguments; b0rken
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 30 Mar 2012 10:18:34 -0700
parents a41537c4284f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 Test CommandParser
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 ================
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 The obligatory imports:
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 >>> import commandparser
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 Run some tests. This test will fail, please fix it:
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 >>> assert True == False
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11